| 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 f8f0d8bd8ceca25cccf77cee7703a6ecb4d68024..89b2b0159398361db50ffe36830e79b2c94501ca 100644
|
| --- a/content/browser/web_contents/web_contents_impl.h
|
| +++ b/content/browser/web_contents/web_contents_impl.h
|
| @@ -61,7 +61,6 @@ class RenderViewHostDelegateView;
|
| class RenderViewHostImpl;
|
| class RenderWidgetHostImpl;
|
| class SavePackage;
|
| -class ScreenOrientationDispatcherHost;
|
| class SiteInstance;
|
| class TestWebContents;
|
| class WebContentsDelegate;
|
| @@ -175,10 +174,6 @@ class CONTENT_EXPORT WebContentsImpl
|
| return geolocation_dispatcher_host_.get();
|
| }
|
|
|
| - ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host() {
|
| - return screen_orientation_dispatcher_host_.get();
|
| - }
|
| -
|
| bool should_normally_be_visible() { return should_normally_be_visible_; }
|
|
|
| // Broadcasts the mode change to all frames.
|
| @@ -391,6 +386,7 @@ class CONTENT_EXPORT WebContentsImpl
|
| #if defined(OS_WIN)
|
| virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE;
|
| #endif
|
| + virtual ScreenOrientationProvider* GetScreenOrientationProvider() OVERRIDE;
|
|
|
| // RenderViewHostDelegate ----------------------------------------------------
|
| virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
|
| @@ -1227,8 +1223,7 @@ class CONTENT_EXPORT WebContentsImpl
|
|
|
| scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_;
|
|
|
| - scoped_ptr<ScreenOrientationDispatcherHost>
|
| - screen_orientation_dispatcher_host_;
|
| + scoped_ptr<ScreenOrientationProvider> screen_orientation_provider_;
|
|
|
| // The accessibility mode for all frames. This is queried when each frame
|
| // is created, and broadcast to all frames when it changes.
|
|
|