Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 2b04a84c62e30233fca4bd95a103410102f11282..0503f0194afd37a01ef68364a2eb40189097e960 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -73,7 +73,8 @@ class RenderViewHostDelegateView; |
class RenderWidgetHostImpl; |
class RenderWidgetHostInputEventRouter; |
class SavePackage; |
-class ScreenOrientationDispatcherHost; |
+class ScreenOrientation; |
+class ScreenOrientationProvider; |
class SiteInstance; |
class TestWebContents; |
class TextInputManager; |
@@ -209,10 +210,6 @@ class CONTENT_EXPORT WebContentsImpl |
WebContentsView* GetView() const; |
- ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host() { |
- return screen_orientation_dispatcher_host_.get(); |
- } |
- |
bool should_normally_be_visible() { return should_normally_be_visible_; } |
// Indicate if the window has been occluded, and pass this to the views, only |
@@ -490,6 +487,7 @@ class CONTENT_EXPORT WebContentsImpl |
int browser_plugin_instance_id) override; |
device::GeolocationServiceContext* GetGeolocationServiceContext() override; |
device::WakeLockServiceContext* GetWakeLockServiceContext() override; |
+ ScreenOrientationProvider* GetScreenOrientationProvider() override; |
void EnterFullscreenMode(const GURL& origin) override; |
void ExitFullscreenMode(bool will_cause_resize) override; |
bool ShouldRouteMessageEvent( |
@@ -1385,8 +1383,7 @@ class CONTENT_EXPORT WebContentsImpl |
std::unique_ptr<device::WakeLockServiceContext> wake_lock_service_context_; |
- std::unique_ptr<ScreenOrientationDispatcherHost> |
- screen_orientation_dispatcher_host_; |
+ std::unique_ptr<ScreenOrientation> screen_orientation_; |
std::unique_ptr<ManifestManagerHost> manifest_manager_host_; |