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

Unified Diff: content/renderer/device_orientation_dispatcher.cc

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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/device_orientation_dispatcher.cc
===================================================================
--- content/renderer/device_orientation_dispatcher.cc (revision 163007)
+++ content/renderer/device_orientation_dispatcher.cc (working copy)
@@ -9,9 +9,12 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDeviceOrientation.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDeviceOrientationController.h"
+namespace content {
+
+
DeviceOrientationDispatcher::DeviceOrientationDispatcher(
RenderViewImpl* render_view)
- : content::RenderViewObserver(render_view),
+ : RenderViewObserver(render_view),
controller_(NULL),
started_(false) {
}
@@ -91,3 +94,5 @@
last_orientation_.setAbsolute(p.absolute);
controller_->didChangeDeviceOrientation(last_orientation_);
}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698