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

Unified Diff: chrome/renderer/device_orientation_dispatcher.h

Issue 3104038: DeviceOrientationDispatcher: no orientation updates equal to lastOrientation(). (Closed)
Patch Set: Rebase 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 | « no previous file | chrome/renderer/device_orientation_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/device_orientation_dispatcher.h
diff --git a/chrome/renderer/device_orientation_dispatcher.h b/chrome/renderer/device_orientation_dispatcher.h
index 0370f25004c7713d435b270418f53b788959733c..e2abf375d62a8ab30ae183a08a930db402526d95 100644
--- a/chrome/renderer/device_orientation_dispatcher.h
+++ b/chrome/renderer/device_orientation_dispatcher.h
@@ -11,6 +11,7 @@
class RenderView;
namespace IPC { class Message; }
+namespace WebKit { class WebDeviceOrientation; }
struct ViewMsg_DeviceOrientationUpdated_Params;
@@ -34,7 +35,7 @@ class DeviceOrientationDispatcher : public WebKit::WebDeviceOrientationClient {
RenderView* render_view_;
scoped_ptr<WebKit::WebDeviceOrientationController> controller_;
- scoped_ptr<ViewMsg_DeviceOrientationUpdated_Params> last_update_;
+ scoped_ptr<WebKit::WebDeviceOrientation> last_orientation_;
bool started_;
};
« no previous file with comments | « no previous file | chrome/renderer/device_orientation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698