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

Unified Diff: sky/engine/public/web/WebFrameClient.h

Issue 640143004: Remove context menus. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/public/web/WebContextMenuData.h ('k') | sky/engine/public/web/WebInputEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/web/WebFrameClient.h
diff --git a/sky/engine/public/web/WebFrameClient.h b/sky/engine/public/web/WebFrameClient.h
index a17667171bff6132d1fd0fbd4213ea2a27087854..adf0cecc71d06a3bc87161db6e821417e86be4cb 100644
--- a/sky/engine/public/web/WebFrameClient.h
+++ b/sky/engine/public/web/WebFrameClient.h
@@ -56,7 +56,6 @@ class WebURLLoader;
class WebURLResponse;
struct WebColorSuggestion;
struct WebConsoleMessage;
-struct WebContextMenuData;
struct WebRect;
struct WebSize;
struct WebURLError;
@@ -174,18 +173,6 @@ public:
// operations.
virtual void didChangeSelection(bool isSelectionEmpty) { }
-
- // UI ------------------------------------------------------------------
-
- // Shows a context menu with commands relevant to a specific element on
- // the given frame. Additional context data is supplied.
- virtual void showContextMenu(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() { }
-
-
// Low-level resource notifications ------------------------------------
// An element will request a resource.
« no previous file with comments | « sky/engine/public/web/WebContextMenuData.h ('k') | sky/engine/public/web/WebInputEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698