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

Unified Diff: Source/modules/device_orientation/DOMWindowDeviceOrientation.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
Index: Source/modules/device_orientation/DOMWindowDeviceOrientation.h
diff --git a/Source/modules/device_orientation/DOMWindowDeviceOrientation.h b/Source/modules/device_orientation/DOMWindowDeviceOrientation.h
new file mode 100644
index 0000000000000000000000000000000000000000..c615429efa7e1c3802ad10e01b4fd23bee6b7385
--- /dev/null
+++ b/Source/modules/device_orientation/DOMWindowDeviceOrientation.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 DOMWindowDeviceOrientation_h
+#define DOMWindowDeviceOrientation_h
+
+#include "core/events/EventTarget.h"
+
+namespace WebCore {
+
+class DOMWindowDeviceOrientation {
+public:
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
+};
+
+} // namespace WebCore
+
+#endif // DOMWindowDeviceOrientation_h
« no previous file with comments | « Source/modules/device_orientation/DOMWindowDeviceMotion.h ('k') | Source/modules/device_orientation/WindowDeviceMotion.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698