From e6e85f67eb20dc105e1b75dcbb3a8eb67d61d83d Mon Sep 17 00:00:00 2001 From: amaitland Date: Mon, 22 Dec 2014 17:23:33 +1000 Subject: [PATCH] Add license disclaimer Cleanup formatting --- CefSharp.Wpf.Example/Handlers/MenuHandler.cs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/CefSharp.Wpf.Example/Handlers/MenuHandler.cs b/CefSharp.Wpf.Example/Handlers/MenuHandler.cs index 2a14de61d..1df98e6a8 100644 --- a/CefSharp.Wpf.Example/Handlers/MenuHandler.cs +++ b/CefSharp.Wpf.Example/Handlers/MenuHandler.cs @@ -1,23 +1,19 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. +// +// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. + +using System; namespace CefSharp.Wpf.Example.Handlers { - public class MenuHandler : IMenuHandler { - public bool OnBeforeContextMenu(IWebBrowser browser, IContextMenuParams parameters) { - Console.WriteLine("Context menu opened"); Console.WriteLine(parameters.MisspelledWord); return true; } - - } }