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

Unified Diff: chrome/renderer/render_view.h

Issue 2858049: Chromium plumbing for Device Orientation. (Closed)
Patch Set: Fixes after try bot runs Created 10 years, 4 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 | « chrome/renderer/device_orientation_dispatcher.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index f31d27e9095ca1d456ad4b3d1791b6bf0cef77cf..f4c6b46cd35053630ad253fb4cb0cf49178934b2 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -55,6 +55,7 @@
class AudioMessageFilter;
class DictionaryValue;
+class DeviceOrientationDispatcher;
class DevToolsAgent;
class DevToolsClient;
class FilePath;
@@ -417,6 +418,7 @@ class RenderView : public RenderWidget,
virtual WebKit::WebGeolocationService* geolocationService();
virtual WebKit::WebSpeechInputController* speechInputController(
WebKit::WebSpeechInputListener* listener);
+ virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
// WebKit::WebFrameClient implementation -------------------------------------
@@ -1226,6 +1228,9 @@ class RenderView : public RenderWidget,
// The speech dispatcher attached to this view, lazily initialized.
scoped_ptr<SpeechInputDispatcher> speech_input_dispatcher_;
+ // Device orientation dispatcher attached to this view; lazily initialized.
+ scoped_ptr<DeviceOrientationDispatcher> device_orientation_dispatcher_;
+
// Misc ----------------------------------------------------------------------
// The current and pending file chooser completion objects. If the queue is
« no previous file with comments | « chrome/renderer/device_orientation_dispatcher.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698