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

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: m_client null check 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
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | public/platform/WebScreenOrientationClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 51c45460b378c2f15239fceba6f3b17969307127..08a1560797fbc815c6b422245aefe1e49c5d7e76 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);
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | public/platform/WebScreenOrientationClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698