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

Unified Diff: Source/core/frame/DeviceSensorEventController.cpp

Issue 191003009: Move DeviceSensorEvent* h|cpp files to a common module (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix comments Created 6 years, 9 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 | « Source/core/frame/DeviceSensorEventController.h ('k') | Source/core/frame/DeviceSensorEventDispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DeviceSensorEventController.cpp
diff --git a/Source/modules/device_orientation/DeviceSensorEventController.cpp b/Source/core/frame/DeviceSensorEventController.cpp
similarity index 95%
rename from Source/modules/device_orientation/DeviceSensorEventController.cpp
rename to Source/core/frame/DeviceSensorEventController.cpp
index 060e00a88d0b1ee2d77c558e0354fc282cc58320..b68944dd11798f242461ae57f18c30aa2238defd 100644
--- a/Source/modules/device_orientation/DeviceSensorEventController.cpp
+++ b/Source/core/frame/DeviceSensorEventController.cpp
@@ -25,7 +25,7 @@
*/
#include "config.h"
-#include "modules/device_orientation/DeviceSensorEventController.h"
+#include "core/frame/DeviceSensorEventController.h"
#include "core/dom/Document.h"
#include "core/frame/DOMWindow.h"
@@ -78,7 +78,7 @@ void DeviceSensorEventController::startUpdating()
return;
if (hasLastData() && !m_timer.isActive()) {
- // Make sure to fire the device motion data as soon as possible.
+ // Make sure to fire the data as soon as possible.
m_timer.startOneShot(0, FROM_HERE);
}
« no previous file with comments | « Source/core/frame/DeviceSensorEventController.h ('k') | Source/core/frame/DeviceSensorEventDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698