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

Unified Diff: Source/modules/gamepad/WebKitGamepad.h

Issue 196503004: Share Gamepad and WebKitGamepad implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Compiles and links 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/gamepad/WebKitGamepad.h
diff --git a/Source/core/animation/DocumentAnimation.idl b/Source/modules/gamepad/WebKitGamepad.h
similarity index 59%
copy from Source/core/animation/DocumentAnimation.idl
copy to Source/modules/gamepad/WebKitGamepad.h
index 2bfb6a74b00d388c5f585b10f2d56950155c2458..158db5166250e3f6d281bf087143722301d8cbbc 100644
--- a/Source/core/animation/DocumentAnimation.idl
+++ b/Source/modules/gamepad/WebKitGamepad.h
@@ -2,8 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-[
- RuntimeEnabled=WebAnimationsAPI,
-] partial interface Document {
- readonly attribute Timeline timeline;
-};
+#ifndef WebKitGamepad_h
+#define WebKitGamepad_h
+
+#include "modules/gamepad/Gamepad.h"
eseidel 2014/03/12 20:05:49 This is presumably needed to keep the bindings gen
Nils Barth (inactive) 2014/03/13 08:55:46 Yup, this was for CG; agreed a comment would've be
+
+#endif // WebKitGamepad_h

Powered by Google App Engine
This is Rietveld 408576698