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

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

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Moved enum mojo definition to content/common due to dependency issue 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 b251094322fdef9e1706263456d39266b38532d8..4c490e1c616b2d395a31245160968818e34faecc 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -42,6 +42,7 @@ class InterstitialPage;
class PageState;
class RenderFrameHost;
class WebContents;
+class ScreenOrientationProvider;
struct AXEventNotificationDetails;
struct AXLocationChangeNotificationDetails;
struct ContextMenuParams;
@@ -170,6 +171,9 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
// Gets the WakeLockServiceContext associated with this delegate.
virtual device::WakeLockServiceContext* GetWakeLockServiceContext();
+ // Gets the ScreenOrientationProvider associated with this delegate.
+ virtual ScreenOrientationProvider* GetScreenOrientationProvider();
+
// 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