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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 549603003: Create Mojo service for locking/unlocking screen orientation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review, port unittest 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index f8f0d8bd8ceca25cccf77cee7703a6ecb4d68024..65e1de7fb6479feb15c7b9231362099e0ea38d4b 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -61,7 +61,7 @@ class RenderViewHostDelegateView;
class RenderViewHostImpl;
class RenderWidgetHostImpl;
class SavePackage;
-class ScreenOrientationDispatcherHost;
+class ScreenOrientationContext;
class SiteInstance;
class TestWebContents;
class WebContentsDelegate;
@@ -175,8 +175,8 @@ class CONTENT_EXPORT WebContentsImpl
return geolocation_dispatcher_host_.get();
}
- ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host() {
- return screen_orientation_dispatcher_host_.get();
+ ScreenOrientationContext* screen_orientation_context() {
+ return screen_orientation_context_.get();
}
bool should_normally_be_visible() { return should_normally_be_visible_; }
@@ -1227,8 +1227,7 @@ class CONTENT_EXPORT WebContentsImpl
scoped_ptr<MidiDispatcherHost> midi_dispatcher_host_;
- scoped_ptr<ScreenOrientationDispatcherHost>
- screen_orientation_dispatcher_host_;
+ scoped_ptr<ScreenOrientationContext> screen_orientation_context_;
// The accessibility mode for all frames. This is queried when each frame
// is created, and broadcast to all frames when it changes.

Powered by Google App Engine
This is Rietveld 408576698