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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 319633007: Move WebScreenOrientationClient to WebFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix oilpan build Created 6 years, 6 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
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 5e988c463cbf1503fa8de244ea4f0fcd9d0d8b60..33b40dd164ab468ad0769aa3d43afd6afb982971 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -84,7 +84,6 @@
#include "modules/encryptedmedia/MediaKeysController.h"
#include "modules/indexeddb/InspectorIndexedDBAgent.h"
#include "modules/push_messaging/PushController.h"
-#include "modules/screen_orientation/ScreenOrientationController.h"
#include "platform/ContextMenu.h"
#include "platform/ContextMenuItem.h"
#include "platform/Cursor.h"
@@ -428,8 +427,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
providePushControllerTo(*m_page, m_client->webPushClient());
setDeviceScaleFactor(m_client->screenInfo().deviceScaleFactor);
setVisibilityState(m_client->visibilityState(), true);
- if (RuntimeEnabledFeatures::screenOrientationEnabled())
- ScreenOrientationController::provideTo(*m_page, m_client->webScreenOrientationClient());
}
m_inspectorSettingsMap = adoptPtr(new SettingsMap);

Powered by Google App Engine
This is Rietveld 408576698