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

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: fix mac 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
« no previous file with comments | « content/renderer/device_orientation_dispatcher.h ('k') | content/renderer/devtools_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/device_orientation_dispatcher.cc
===================================================================
--- content/renderer/device_orientation_dispatcher.cc (revision 163045)
+++ 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
« no previous file with comments | « content/renderer/device_orientation_dispatcher.h ('k') | content/renderer/devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698