diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc index f41508a7ee2c5..13b36f4ded152 100644 --- a/content/browser/web_contents/web_contents_impl.cc +++ b/content/browser/web_contents/web_contents_impl.cc @@ -720,10 +720,6 @@ const GURL& WebContentsImpl::GetLastCommittedURL() const { return entry ? entry->GetVirtualURL() : GURL::EmptyGURL(); } -ScreenOrientationDispatcherHost* WebContentsImpl::GetScreenOrientationDispatcherHost() { - return screen_orientation_dispatcher_host_.get(); -} - WebContentsDelegate* WebContentsImpl::GetDelegate() { return delegate_; } diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h index 98bbfb78f2aa7..ca667e47cf077 100644 --- a/content/browser/web_contents/web_contents_impl.h +++ b/content/browser/web_contents/web_contents_impl.h @@ -225,7 +225,6 @@ class CONTENT_EXPORT WebContentsImpl void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback); // WebContents ------------------------------------------------------ - ScreenOrientationDispatcherHost* GetScreenOrientationDispatcherHost() override; WebContentsDelegate* GetDelegate() override; void SetDelegate(WebContentsDelegate* delegate) override; NavigationControllerImpl& GetController() override; diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h index e7d0cf86e699b..c9fa8a011e04f 100644 --- a/content/public/browser/web_contents.h +++ b/content/public/browser/web_contents.h @@ -53,7 +53,6 @@ class RenderFrameHost; class RenderProcessHost; class RenderViewHost; class RenderWidgetHostView; -class ScreenOrientationDispatcherHost; class SiteInstance; class WebContentsDelegate; struct CustomContextMenuContext; @@ -174,8 +173,6 @@ class WebContents : public PageNavigator, // Intrinsic tab state ------------------------------------------------------- - virtual ScreenOrientationDispatcherHost* GetScreenOrientationDispatcherHost() = 0; - // Gets/Sets the delegate. virtual WebContentsDelegate* GetDelegate() = 0; virtual void SetDelegate(WebContentsDelegate* delegate) = 0;