summaryrefslogtreecommitdiffstats
path: root/content/renderer/device_orientation_dispatcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/device_orientation_dispatcher.cc')
-rw-r--r--content/renderer/device_orientation_dispatcher.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/content/renderer/device_orientation_dispatcher.cc b/content/renderer/device_orientation_dispatcher.cc
index 42ce18d..df8d2e3 100644
--- a/content/renderer/device_orientation_dispatcher.cc
+++ b/content/renderer/device_orientation_dispatcher.cc
@@ -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 @@ void DeviceOrientationDispatcher::OnDeviceOrientationUpdated(
last_orientation_.setAbsolute(p.absolute);
controller_->didChangeDeviceOrientation(last_orientation_);
}
+
+} // namespace content