Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Ensure correct ordering between ViewMsg_Resize and screen orientation messages Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {}

Powered by Google App Engine
This is Rietveld 408576698