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

Unified Diff: Source/WebCore/loader/EmptyClients.h

Issue 14185003: Use ContextMenu code path that was guarded by CROSS_PLATFORM_CONTEXT_MENU (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use ContextMenu code path that was guarded by CROSS_PLATFORM_CONTEXT_MENU Created 7 years, 8 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 | « Source/WebCore/inspector/InspectorFrontendHost.cpp ('k') | Source/WebCore/loader/EmptyClients.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/EmptyClients.h
diff --git a/Source/WebCore/loader/EmptyClients.h b/Source/WebCore/loader/EmptyClients.h
index e9b605cf56b0120a597aa47924dd1bf104c083be..5b12b3afc1185d2a5185558771c886f1273cdf3f 100644
--- a/Source/WebCore/loader/EmptyClients.h
+++ b/Source/WebCore/loader/EmptyClients.h
@@ -428,12 +428,8 @@ public:
virtual ~EmptyContextMenuClient() { }
virtual void contextMenuDestroyed() { }
-#if USE(CROSS_PLATFORM_CONTEXT_MENUS)
virtual PassOwnPtr<ContextMenu> customizeMenu(PassOwnPtr<ContextMenu>) OVERRIDE;
-#else
- virtual PlatformMenuDescription getCustomMenuFromDefaultItems(ContextMenu*) { return 0; }
-#endif
- virtual void contextMenuItemSelected(ContextMenuItem*, const ContextMenu*) { }
+ virtual void contextMenuItemSelected(const ContextMenuItem*, const ContextMenu*) { }
virtual void downloadURL(const KURL&) { }
virtual void copyImageToClipboard(const HitTestResult&) { }
« no previous file with comments | « Source/WebCore/inspector/InspectorFrontendHost.cpp ('k') | Source/WebCore/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698