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

Unified Diff: sky/engine/core/frame/Frame.cpp

Issue 878673005: Get rid of Chrome, use Page. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/frame/Frame.h ('k') | sky/engine/core/frame/FrameConsole.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/Frame.cpp
diff --git a/sky/engine/core/frame/Frame.cpp b/sky/engine/core/frame/Frame.cpp
index 115d89ee66f26f00bbbf7c0e32089b83943fcc15..5d11025172ed2a86bb00509c9f633f752b770afc 100644
--- a/sky/engine/core/frame/Frame.cpp
+++ b/sky/engine/core/frame/Frame.cpp
@@ -36,7 +36,6 @@
#include "sky/engine/core/frame/Settings.h"
#include "sky/engine/core/loader/EmptyClients.h"
#include "sky/engine/core/loader/FrameLoaderClient.h"
-#include "sky/engine/core/page/Chrome.h"
#include "sky/engine/core/page/ChromeClient.h"
#include "sky/engine/core/page/EventHandler.h"
#include "sky/engine/core/page/FocusController.h"
@@ -103,17 +102,4 @@ void Frame::setDOMWindow(PassRefPtr<LocalDOMWindow> domWindow)
m_domWindow = domWindow;
}
-static ChromeClient& emptyChromeClient()
-{
- DEFINE_STATIC_LOCAL(EmptyChromeClient, client, ());
- return client;
-}
-
-ChromeClient& Frame::chromeClient() const
-{
- if (Page* page = this->page())
- return page->chrome().client();
- return emptyChromeClient();
-}
-
} // namespace blink
« no previous file with comments | « sky/engine/core/frame/Frame.h ('k') | sky/engine/core/frame/FrameConsole.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698