Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #319 from rakuco/revert-GetScreenOrientationDispat…
Browse files Browse the repository at this point in the history
…cherHost-commit

Revert "Provide a ScreenOrientationDispatcherHost getter."
  • Loading branch information
Raphael Kubo da Costa committed Feb 17, 2016
2 parents 9a9d4c1 + 3b21142 commit 8e6a2d2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions content/browser/web_contents/web_contents_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
}
Expand Down
1 change: 0 additions & 1 deletion content/browser/web_contents/web_contents_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions content/public/browser/web_contents.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class RenderFrameHost;
class RenderProcessHost;
class RenderViewHost;
class RenderWidgetHostView;
class ScreenOrientationDispatcherHost;
class SiteInstance;
class WebContentsDelegate;
struct CustomContextMenuContext;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 8e6a2d2

Please sign in to comment.