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

Unified Diff: content/renderer/render_view_impl.h

Issue 150153004: [WIP] Add Chromium-side support for the Screen Orientation API (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Updated by review comments. Created 6 years, 10 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
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 7333424986dd28165b718d561d718dc700e03629..85348395ae3325f81353df8f9439c0fe704c2f89 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -159,6 +159,7 @@ class RenderViewTest;
class RendererAccessibility;
class RendererDateTimePicker;
class RendererWebColorChooserImpl;
+class ScreenOrientationDispatcher;
class SpeechRecognitionDispatcher;
class WebPluginDelegateProxy;
struct DropData;
@@ -496,6 +497,7 @@ class CONTENT_EXPORT RenderViewImpl
virtual void didUpdateInspectorSetting(const blink::WebString& key,
const blink::WebString& value);
virtual blink::WebGeolocationClient* geolocationClient();
+ virtual blink::WebScreenOrientationClient* screenOrientationClient() OVERRIDE;
virtual blink::WebSpeechInputController* speechInputController(
blink::WebSpeechInputListener* listener);
virtual blink::WebSpeechRecognizer* speechRecognizer();
@@ -1354,6 +1356,8 @@ class CONTENT_EXPORT RenderViewImpl
// Mouse Lock dispatcher attached to this view.
MouseLockDispatcher* mouse_lock_dispatcher_;
+ ScreenOrientationDispatcher* screen_orientation_dispatcher_;
+
#if defined(OS_ANDROID)
// Android Specific ---------------------------------------------------------
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698