Gamepad API - Deprecate the existing implementation
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jun 2014 15:43:49 +0000 (15:43 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jun 2014 15:43:49 +0000 (15:43 +0000)
commit0b87dd74002688a7abff5d51c05377c63f782847
tree52709ecbf1df94ae3a6fed60a422d84ea5d59862
parentfc51bee053c90992f86d56d3edf583348bb808f2
Gamepad API - Deprecate the existing implementation
https://bugs.webkit.org/show_bug.cgi?id=134108

Reviewed by Timothy Hatcher.

-Add new "GAMEPAD_DEPRECATED" build flag, moving the existing implementation to use it
-Add the "Deprecated" suffix to some implementation files

.:
* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:
* Configurations/FeatureDefines.xcconfig:

Source/WebCore:
* CMakeLists.txt:
* PlatformGTK.cmake:
* Configurations/FeatureDefines.xcconfig:

* Modules/gamepad/GamepadDeprecated.cpp: Renamed from Source/WebCore/Modules/gamepad/Gamepad.cpp.
* Modules/gamepad/GamepadDeprecated.h: Renamed from Source/WebCore/Modules/gamepad/Gamepad.h.
* Modules/gamepad/GamepadDeprecated.idl: Renamed from Source/WebCore/Modules/gamepad/Gamepad.idl.

* Modules/gamepad/GamepadList.cpp:
* Modules/gamepad/GamepadList.h:
* Modules/gamepad/GamepadList.idl:

* Modules/gamepad/NavigatorGamepadDeprecated.cpp: Renamed from Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp.
* Modules/gamepad/NavigatorGamepadDeprecated.h: Renamed from Source/WebCore/Modules/gamepad/NavigatorGamepad.h.
* Modules/gamepad/NavigatorGamepadDeprecated.idl: Renamed from Source/WebCore/Modules/gamepad/NavigatorGamepad.idl.

* platform/Gamepads.h:
* platform/efl/GamepadsEfl.cpp:
* platform/gtk/GamepadsGtk.cpp:
* platform/linux/GamepadDeviceLinux.cpp:
* platform/linux/GamepadDeviceLinux.h:

Source/WebKit/mac:
* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:
* Configurations/FeatureDefines.xcconfig:

Source/WTF:
* wtf/FeatureDefines.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
31 files changed:
ChangeLog
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/WTF/ChangeLog
Source/WTF/wtf/FeatureDefines.h
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/Modules/gamepad/GamepadDeprecated.cpp [moved from Source/WebCore/Modules/gamepad/Gamepad.cpp with 94% similarity]
Source/WebCore/Modules/gamepad/GamepadDeprecated.h [moved from Source/WebCore/Modules/gamepad/Gamepad.h with 93% similarity]
Source/WebCore/Modules/gamepad/GamepadDeprecated.idl [moved from Source/WebCore/Modules/gamepad/Gamepad.idl with 97% similarity]
Source/WebCore/Modules/gamepad/GamepadList.cpp
Source/WebCore/Modules/gamepad/GamepadList.h
Source/WebCore/Modules/gamepad/GamepadList.idl
Source/WebCore/Modules/gamepad/NavigatorGamepadDeprecated.cpp [moved from Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp with 95% similarity]
Source/WebCore/Modules/gamepad/NavigatorGamepadDeprecated.h [moved from Source/WebCore/Modules/gamepad/NavigatorGamepad.h with 90% similarity]
Source/WebCore/Modules/gamepad/NavigatorGamepadDeprecated.idl [moved from Source/WebCore/Modules/gamepad/NavigatorGamepad.idl with 96% similarity]
Source/WebCore/PlatformGTK.cmake
Source/WebCore/platform/Gamepads.h
Source/WebCore/platform/efl/GamepadsEfl.cpp
Source/WebCore/platform/gtk/GamepadsGtk.cpp
Source/WebCore/platform/linux/GamepadDeviceLinux.cpp
Source/WebCore/platform/linux/GamepadDeviceLinux.h
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/Configurations/FeatureDefines.xcconfig
Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/FeatureDefines.xcconfig
Source/cmake/OptionsEfl.cmake
Source/cmake/OptionsGTK.cmake
Source/cmake/WebKitFeatures.cmake
Source/cmakeconfig.h.cmake