Index: content/browser/frame_host/render_frame_host_delegate.h |
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h |
index 9beea2a30a4552ebc778ea19cf6a41ccba601982..aab8d8f8980daf70554b1f67aab99d78c7cd4224 100644 |
--- a/content/browser/frame_host/render_frame_host_delegate.h |
+++ b/content/browser/frame_host/render_frame_host_delegate.h |
@@ -41,6 +41,7 @@ class FrameTreeNode; |
class InterstitialPage; |
class PageState; |
class RenderFrameHost; |
+class ScreenOrientationImpl; |
class WebContents; |
struct AXEventNotificationDetails; |
struct AXLocationChangeNotificationDetails; |
@@ -169,6 +170,9 @@ class CONTENT_EXPORT RenderFrameHostDelegate { |
// Gets the WakeLockServiceContext associated with this delegate. |
virtual device::WakeLockServiceContext* GetWakeLockServiceContext(); |
+ // Gets the ScreenOrientation interface associated with this delegate. |
+ virtual ScreenOrientationImpl* GetScreenOrientation(); |
blundell
2016/10/21 18:16:31
nit: I would just expose the ScreenOrientationProv
lunalu1
2016/10/24 16:57:36
Done.
|
+ |
// Notification that the frame wants to go into fullscreen mode. |
// |origin| represents the origin of the frame that requests fullscreen. |
virtual void EnterFullscreenMode(const GURL& origin) {} |