Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: public/web/WebViewClient.h

Issue 183693004: Move showContextMenu from WebViewClient to WebFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update with workaround for clang warning Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebViewClient.h
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
index 73b7adfc3340641bfdbaa14547bd8bbc54216365..4c8053177828dff7d1a81f965b6ff4dac6909f91 100644
--- a/public/web/WebViewClient.h
+++ b/public/web/WebViewClient.h
@@ -81,7 +81,6 @@ class WebView;
class WebWidget;
struct WebColorSuggestion;
struct WebConsoleMessage;
-struct WebContextMenuData;
struct WebDateTimeChooserParams;
struct WebPoint;
struct WebPopupMenuInfo;
@@ -257,10 +256,6 @@ public:
// Called when keyboard focus switches to an anchor with the given URL.
virtual void setKeyboardFocusURL(const WebURL&) { }
- // Shows a context menu with commands relevant to a specific element on
- // the given frame. Additional context data is supplied.
- virtual void showContextMenu(WebFrame*, const WebContextMenuData&) { }
-
// Called when the data attached to the currently displayed context menu is
// invalidated. The context menu may be closed if possible.
virtual void clearContextMenu() { }
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698