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

Commit 3b21142

Browse files
author
Raphael Kubo da Costa
committed
Revert "Provide a ScreenOrientationDispatcherHost getter."
This reverts commit dddd14d. This change was only used by the Tizen port, which got removed last year.
1 parent 9a9d4c1 commit 3b21142

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

content/browser/web_contents/web_contents_impl.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -720,10 +720,6 @@ const GURL& WebContentsImpl::GetLastCommittedURL() const {
720720
return entry ? entry->GetVirtualURL() : GURL::EmptyGURL();
721721
}
722722

723-
ScreenOrientationDispatcherHost* WebContentsImpl::GetScreenOrientationDispatcherHost() {
724-
return screen_orientation_dispatcher_host_.get();
725-
}
726-
727723
WebContentsDelegate* WebContentsImpl::GetDelegate() {
728724
return delegate_;
729725
}

content/browser/web_contents/web_contents_impl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ class CONTENT_EXPORT WebContentsImpl
225225
void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback);
226226

227227
// WebContents ------------------------------------------------------
228-
ScreenOrientationDispatcherHost* GetScreenOrientationDispatcherHost() override;
229228
WebContentsDelegate* GetDelegate() override;
230229
void SetDelegate(WebContentsDelegate* delegate) override;
231230
NavigationControllerImpl& GetController() override;

content/public/browser/web_contents.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class RenderFrameHost;
5353
class RenderProcessHost;
5454
class RenderViewHost;
5555
class RenderWidgetHostView;
56-
class ScreenOrientationDispatcherHost;
5756
class SiteInstance;
5857
class WebContentsDelegate;
5958
struct CustomContextMenuContext;
@@ -174,8 +173,6 @@ class WebContents : public PageNavigator,
174173

175174
// Intrinsic tab state -------------------------------------------------------
176175

177-
virtual ScreenOrientationDispatcherHost* GetScreenOrientationDispatcherHost() = 0;
178-
179176
// Gets/Sets the delegate.
180177
virtual WebContentsDelegate* GetDelegate() = 0;
181178
virtual void SetDelegate(WebContentsDelegate* delegate) = 0;

0 commit comments

Comments
 (0)