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

Unified Diff: content/renderer/device_orientation_dispatcher.h

Issue 10542025: Changed device_orientation_dispatcher to use default constructor in WebDeviceOrientation.h. This de… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: addressed review comments Created 8 years, 6 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 | content/renderer/device_orientation_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/device_orientation_dispatcher.h
diff --git a/content/renderer/device_orientation_dispatcher.h b/content/renderer/device_orientation_dispatcher.h
index 0f80c2635c06e7db8a918dacc0486e4f2a0723e1..baf69194a67d4a4fd014e35ddda514abbbb8bf44 100644
--- a/content/renderer/device_orientation_dispatcher.h
+++ b/content/renderer/device_orientation_dispatcher.h
@@ -6,16 +6,13 @@
#define CONTENT_RENDERER_DEVICE_ORIENTATION_DISPATCHER_H_
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDeviceOrientationClient.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebDeviceOrientation.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/renderer/render_view_observer.h"
class RenderViewImpl;
-namespace WebKit {
-class WebDeviceOrientation;
-}
-
struct DeviceOrientationMsg_Updated_Params;
class DeviceOrientationDispatcher : public content::RenderViewObserver,
@@ -39,7 +36,7 @@ class DeviceOrientationDispatcher : public content::RenderViewObserver,
const DeviceOrientationMsg_Updated_Params& p);
scoped_ptr<WebKit::WebDeviceOrientationController> controller_;
- scoped_ptr<WebKit::WebDeviceOrientation> last_orientation_;
+ WebKit::WebDeviceOrientation last_orientation_;
bool started_;
};
« no previous file with comments | « no previous file | content/renderer/device_orientation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698