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

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

Issue 549603003: Create Mojo service for locking/unlocking screen orientation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 6 years, 3 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 b0ebe38f47ac7dfecf1581b3613d523baef7093e..0cb0a5abfb90cbd861bdc6a7977e3d0e1d782278 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -27,6 +27,7 @@ class Message;
namespace content {
class RenderFrameHost;
+class ScreenOrientationProvider;
class WebContents;
struct AXEventNotificationDetails;
struct ContextMenuParams;
@@ -141,6 +142,10 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
virtual RenderFrameHost* GetGuestByInstanceID(
int browser_plugin_instance_id);
+ // Returns the ScreenOrientationProvider instance associated with the
+ // delegate.
+ virtual ScreenOrientationProvider* GetScreenOrientationProvider();
+
#if defined(OS_WIN)
// Returns the frame's parent's NativeViewAccessible.
virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();

Powered by Google App Engine
This is Rietveld 408576698