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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 20707002: Implement Device Orientation using shared memory in content/renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed owners Created 7 years, 5 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/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index 26c1686b69914bea7531248a0e36de05ad64d547..80c7de5ea9c4a9b38795fcc77973fc1cf44c42f5 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -34,6 +34,7 @@ class WebGraphicsContext3DProvider;
namespace content {
class DeviceMotionEventPump;
+class DeviceOrientationEventPump;
class GamepadSharedMemoryReader;
class QuotaMessageFilter;
class RendererClipboardClient;
@@ -140,6 +141,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
const WebKit::WebString& host, const WebKit::WebString& languages);
virtual void setDeviceMotionListener(
WebKit::WebDeviceMotionListener* listener) OVERRIDE;
+ virtual void setDeviceOrientationListener(
+ WebKit::WebDeviceOrientationListener* listener) OVERRIDE;
virtual WebKit::WebCrypto* crypto() OVERRIDE;
virtual void queryStorageUsageAndQuota(
const WebKit::WebURL& storage_partition,
@@ -206,6 +209,7 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
scoped_ptr<DeviceMotionEventPump> device_motion_event_pump_;
+ scoped_ptr<DeviceOrientationEventPump> device_orientation_event_pump_;
scoped_refptr<base::MessageLoopProxy> child_thread_loop_;
scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;

Powered by Google App Engine
This is Rietveld 408576698