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

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

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: clup Created 4 years, 1 month 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 5298d583fbf05e20ce16fd645c95a1b08d261b03..a22a5bf05e9dca007b58aecf23ff4a73a8891e61 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 ScreenOrientationProvider;
class WebContents;
struct AXEventNotificationDetails;
struct AXLocationChangeNotificationDetails;
@@ -168,6 +169,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) {}
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/frame_host/render_frame_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698