From 8a6c83fa2f207fe02dfdd81e49d799e1e2bf02ac Mon Sep 17 00:00:00 2001 From: Per Lundberg Date: Wed, 13 Nov 2013 23:32:44 +0200 Subject: [PATCH] =?UTF-8?q?Got=20rid=20of=20stuff=20which=20isn=E2=80=99t?= =?UTF-8?q?=20implemented.=20We=20can=20add=20it=20later=20if/when=20neede?= =?UTF-8?q?d.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CefSharp.WinForms/WebView.cs | 60 ------------------------ CefSharp.Wpf/WebView.cs | 51 +------------------- CefSharp/Internals/IWebBrowserInternal.h | 11 ----- 3 files changed, 1 insertion(+), 121 deletions(-) diff --git a/CefSharp.WinForms/WebView.cs b/CefSharp.WinForms/WebView.cs index 4142b5019..4da8c7717 100644 --- a/CefSharp.WinForms/WebView.cs +++ b/CefSharp.WinForms/WebView.cs @@ -146,66 +146,6 @@ namespace CefSharp.WinForms TooltipText = tooltipText; } - public void Stop() - { - throw new NotImplementedException(); - } - - public void ClearHistory() - { - throw new NotImplementedException(); - } - - public void ShowDevTools() - { - throw new NotImplementedException(); - } - - public void CloseDevTools() - { - throw new NotImplementedException(); - } - - public void Undo() - { - throw new NotImplementedException(); - } - - public void Redo() - { - throw new NotImplementedException(); - } - - public void Cut() - { - throw new NotImplementedException(); - } - - public void Copy() - { - throw new NotImplementedException(); - } - - public void Paste() - { - throw new NotImplementedException(); - } - - public void Delete() - { - throw new NotImplementedException(); - } - - public void SelectAll() - { - throw new NotImplementedException(); - } - - public void Print() - { - throw new NotImplementedException(); - } - public void OnFrameLoadStart(string url) { browserCore.OnFrameLoadStart(); diff --git a/CefSharp.Wpf/WebView.cs b/CefSharp.Wpf/WebView.cs index 04d58ff58..e81f3a207 100644 --- a/CefSharp.Wpf/WebView.cs +++ b/CefSharp.Wpf/WebView.cs @@ -577,11 +577,6 @@ namespace CefSharp.Wpf managedCefBrowserAdapter.LoadHtml(html, url); } - public void Stop() - { - throw new NotImplementedException(); - } - private void Back() { managedCefBrowserAdapter.GoBack(); @@ -612,13 +607,9 @@ namespace CefSharp.Wpf return browserCore.CanReload; } - public void ClearHistory() - { - throw new NotImplementedException(); - } - public void ShowDevTools() { + // TODO: Do something about this one. var devToolsUrl = managedCefBrowserAdapter.DevToolsUrl; throw new NotImplementedException(); } @@ -628,46 +619,6 @@ namespace CefSharp.Wpf throw new NotImplementedException(); } - public void Undo() - { - throw new NotImplementedException(); - } - - public void Redo() - { - throw new NotImplementedException(); - } - - public void Cut() - { - throw new NotImplementedException(); - } - - public void Copy() - { - throw new NotImplementedException(); - } - - public void Paste() - { - throw new NotImplementedException(); - } - - public void Delete() - { - throw new NotImplementedException(); - } - - public void SelectAll() - { - throw new NotImplementedException(); - } - - public void Print() - { - throw new NotImplementedException(); - } - public void OnFrameLoadStart(string url) { browserCore.OnFrameLoadStart(); diff --git a/CefSharp/Internals/IWebBrowserInternal.h b/CefSharp/Internals/IWebBrowserInternal.h index e95f20d78..ea255de7c 100644 --- a/CefSharp/Internals/IWebBrowserInternal.h +++ b/CefSharp/Internals/IWebBrowserInternal.h @@ -39,20 +39,9 @@ namespace CefSharp void SetNavState(bool canGoBack, bool canGoForward, bool canReload); void SetTitle(String^ title); void SetTooltipText(String^ tooltipText); - void Stop(); - void ClearHistory(); void ShowDevTools(); void CloseDevTools(); - void Undo(); - void Redo(); - void Cut(); - void Copy(); - void Paste(); - void Delete(); - void SelectAll(); - void Print(); - void OnFrameLoadStart(String^ url); void OnFrameLoadEnd(String^ url); void OnTakeFocus(bool next);