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

Unified Diff: sky/engine/core/loader/EmptyClients.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/loader/EmptyClients.h ('k') | sky/engine/core/loader/FrameLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/loader/EmptyClients.cpp
diff --git a/sky/engine/core/loader/EmptyClients.cpp b/sky/engine/core/loader/EmptyClients.cpp
index 6de1de3f07b5eae1867b2d7133b3563c8106ba01..7d817046e00365b05b5fd1b9e1541a60d7af0816 100644
--- a/sky/engine/core/loader/EmptyClients.cpp
+++ b/sky/engine/core/loader/EmptyClients.cpp
@@ -35,9 +35,6 @@ namespace blink {
void fillWithEmptyClients(Page::PageClients& pageClients)
{
- static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).leakPtr();
- pageClients.chromeClient = dummyChromeClient;
-
static EditorClient* dummyEditorClient = adoptPtr(new EmptyEditorClient).leakPtr();
pageClients.editorClient = dummyEditorClient;
@@ -45,11 +42,6 @@ void fillWithEmptyClients(Page::PageClients& pageClients)
pageClients.spellCheckerClient = dummySpellCheckerClient;
}
-String EmptyChromeClient::acceptLanguages()
-{
- return String();
-}
-
NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation(const ResourceRequest&, Document*, NavigationPolicy, bool isTransitionNavigation)
{
return NavigationPolicyIgnore;
« no previous file with comments | « sky/engine/core/loader/EmptyClients.h ('k') | sky/engine/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698