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

Unified Diff: Source/modules/gamepad/WebKitGamepadList.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/WebKitGamepadList.h
diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/modules/gamepad/WebKitGamepadList.h
similarity index 56%
copy from Source/modules/battery/NavigatorBattery.idl
copy to Source/modules/gamepad/WebKitGamepadList.h
index 524bf238c12fc3d0cae9056d4e0dd9df8ce44c81..1d9102ed4f8b12d7df2453590d09b170bca0081e 100644
--- a/Source/modules/battery/NavigatorBattery.idl
+++ b/Source/modules/gamepad/WebKitGamepadList.h
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-[
- RuntimeEnabled=BatteryStatus,
-] partial interface Navigator {
- readonly attribute BatteryManager battery;
-};
+#ifndef WebKitGamepadList_h
+#define WebKitGamepadList_h
+#include "modules/gamepad/GamepadList.h"
+
+#endif // WebKitGamepadList_h

Powered by Google App Engine
This is Rietveld 408576698