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

Unified Diff: sky/engine/core/page/Page.cpp

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/page/Page.h ('k') | sky/engine/core/page/TouchAdjustment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/Page.cpp
diff --git a/sky/engine/core/page/Page.cpp b/sky/engine/core/page/Page.cpp
index eacbe966941e3fd6155ddfe03bd3ebe25b42c65f..b2201f6e8db7f76b83f86163d20507cc3cc3aa2f 100644
--- a/sky/engine/core/page/Page.cpp
+++ b/sky/engine/core/page/Page.cpp
@@ -37,7 +37,6 @@
#include "core/page/AutoscrollController.h"
#include "core/page/Chrome.h"
#include "core/page/ChromeClient.h"
-#include "core/page/ContextMenuController.h"
#include "core/page/FocusController.h"
#include "core/page/PageLifecycleNotifier.h"
#include "core/page/scrolling/ScrollingCoordinator.h"
@@ -99,7 +98,6 @@ Page::Page(PageClients& pageClients)
, m_chrome(Chrome::create(this, pageClients.chromeClient))
, m_dragCaretController(DragCaretController::create())
, m_focusController(FocusController::create(this))
- , m_contextMenuController(ContextMenuController::create(this, pageClients.contextMenuClient))
, m_undoStack(UndoStack::create())
, m_mainFrame(0)
, m_editorClient(pageClients.editorClient)
@@ -185,7 +183,6 @@ void Page::setMainFrame(LocalFrame* mainFrame)
void Page::documentDetached(Document* document)
{
m_multisamplingChangedObservers.clear();
- m_contextMenuController->documentDetached(document);
}
bool Page::openedByDOM() const
@@ -375,7 +372,6 @@ void Page::trace(Visitor* visitor)
{
#if ENABLE(OILPAN)
visitor->trace(m_dragCaretController);
- visitor->trace(m_contextMenuController);
visitor->trace(m_undoStack);
visitor->trace(m_multisamplingChangedObservers);
visitor->trace(m_frameHost);
@@ -408,7 +404,6 @@ void Page::willBeDestroyed()
Page::PageClients::PageClients()
: chromeClient(0)
- , contextMenuClient(0)
, editorClient(0)
, spellCheckerClient(0)
{
« no previous file with comments | « sky/engine/core/page/Page.h ('k') | sky/engine/core/page/TouchAdjustment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698