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

Unified Diff: Source/modules/device_orientation/DOMWindowDeviceMotion.h

Issue 189413008: Move DeviceOrientation / DeviceMotion event handlers to device_orientation module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/Window.idl ('k') | Source/modules/device_orientation/DOMWindowDeviceOrientation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/device_orientation/DOMWindowDeviceMotion.h
diff --git a/Source/modules/device_orientation/DOMWindowDeviceMotion.h b/Source/modules/device_orientation/DOMWindowDeviceMotion.h
new file mode 100644
index 0000000000000000000000000000000000000000..e9b96f5bb9c11643437f5f333814a0658b0d8172
--- /dev/null
+++ b/Source/modules/device_orientation/DOMWindowDeviceMotion.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef DOMWindowDeviceMotion_h
+#define DOMWindowDeviceMotion_h
+
+#include "core/events/EventTarget.h"
+
+namespace WebCore {
+
+class DOMWindowDeviceMotion {
+public:
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(devicemotion);
+};
+
+} // namespace WebCore
+
+#endif // DOMWindowDeviceMotion_h
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/modules/device_orientation/DOMWindowDeviceOrientation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698