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

Unified Diff: sky/engine/core/loader/EmptyClients.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/core/events/RelatedEvent.idl ('k') | sky/engine/core/loader/EmptyClients.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/loader/EmptyClients.h
diff --git a/sky/engine/core/loader/EmptyClients.h b/sky/engine/core/loader/EmptyClients.h
index 3cdada7a9bbca7bc0ae9365710690bd3b0faeaf9..34deb846de3ad7a34f3742d04e0002bb77809b52 100644
--- a/sky/engine/core/loader/EmptyClients.h
+++ b/sky/engine/core/loader/EmptyClients.h
@@ -32,7 +32,6 @@
#include "core/editing/UndoStep.h"
#include "core/loader/FrameLoaderClient.h"
#include "core/page/ChromeClient.h"
-#include "core/page/ContextMenuClient.h"
#include "core/page/EditorClient.h"
#include "core/page/FocusType.h"
#include "core/page/Page.h"
@@ -189,15 +188,6 @@ public:
virtual bool handleKeyboardEvent() OVERRIDE { return false; }
};
-class EmptyContextMenuClient FINAL : public ContextMenuClient {
- WTF_MAKE_NONCOPYABLE(EmptyContextMenuClient); WTF_MAKE_FAST_ALLOCATED;
-public:
- EmptyContextMenuClient() { }
- virtual ~EmptyContextMenuClient() { }
- virtual void showContextMenu(const ContextMenu*) OVERRIDE { }
- virtual void clearContextMenu() OVERRIDE { }
-};
-
void fillWithEmptyClients(Page::PageClients&);
}
« no previous file with comments | « sky/engine/core/events/RelatedEvent.idl ('k') | sky/engine/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698