Changeset 100860 in webkit
- Timestamp:
- Nov 19, 2011 12:51:42 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 deleted
- 7 edited
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r100856 r100860 1 2011-11-19 Scott Graham <scottmg@chromium.org> 2 3 Move gamepad to Modules/ (+ some cleanup) 4 https://bugs.webkit.org/show_bug.cgi?id=72785 5 6 Reviewed by Adam Barth. 7 8 Use standard pre/post js test harness rather than custom one. 9 10 * gamepad/gamepad-api-expected.txt: 11 * gamepad/gamepad-api.html: 12 * gamepad/gamepad-test.js: Removed. 13 1 14 2011-11-19 David Barr <davidbarr@chromium.org> 2 15 -
trunk/LayoutTests/gamepad/gamepad-api-expected.txt
r100833 r100860 1 EXPECTED (navigator.webkitGamepads !== 'undefined') OK 2 END OF TEST 1 PASS navigator.webkitGamepads is defined. 2 PASS successfullyParsed is true 3 4 TEST COMPLETE 3 5 Make sure the main polling access point exists on navigator. -
trunk/LayoutTests/gamepad/gamepad-api.html
r100833 r100860 1 1 <!DOCTYPE html> 2 2 <body> 3 <script src=" gamepad-test.js"></script>3 <script src="../fast/js/resources/js-test-pre.js"></script> 4 4 <script> 5 testExpected("navigator.webkitGamepads", undefined, "!=="); 6 endTest(); 5 shouldBeDefined("navigator.webkitGamepads"); 7 6 </script> 7 <script src="../fast/js/resources/js-test-post.js"></script> 8 8 <p>Make sure the main polling access point exists on navigator.</p> 9 9 </body> -
trunk/Source/WebCore/ChangeLog
r100859 r100860 1 2011-11-19 Scott Graham <scottmg@chromium.org> 2 3 Move gamepad to Modules/ (+ some cleanup) 4 https://bugs.webkit.org/show_bug.cgi?id=72785 5 6 Reviewed by Adam Barth. 7 8 Move main files from page/ to Modules/gamepad/. #include guard the 9 gamepad header inclusions in Navigator.cpp to avoid including for 10 ports that do not enable GAMEPAD. 11 12 * Modules/gamepad/Gamepad.cpp: Renamed from Source/WebCore/page/Gamepad.cpp. 13 (WebCore::Gamepad::Gamepad): 14 (WebCore::Gamepad::axes): 15 (WebCore::Gamepad::buttons): 16 (WebCore::Gamepad::~Gamepad): 17 * Modules/gamepad/Gamepad.h: Renamed from Source/WebCore/page/Gamepad.h. 18 * Modules/gamepad/Gamepad.idl: Renamed from Source/WebCore/page/Gamepad.idl. 19 * Modules/gamepad/GamepadList.cpp: Renamed from Source/WebCore/page/GamepadList.cpp. 20 (WebCore::GamepadList::~GamepadList): 21 (WebCore::GamepadList::set): 22 (WebCore::GamepadList::length): 23 (WebCore::GamepadList::item): 24 * Modules/gamepad/GamepadList.h: Renamed from Source/WebCore/page/GamepadList.h. 25 (WebCore::GamepadList::create): 26 (WebCore::GamepadList::GamepadList): 27 * Modules/gamepad/GamepadList.idl: Renamed from Source/WebCore/page/GamepadList.idl. 28 * WebCore.gyp/WebCore.gyp: 29 * WebCore.gypi: 30 * page/Navigator.cpp: 31 1 32 2011-11-19 Sheriff Bot <webkit.review.bot@gmail.com> 2 33 -
trunk/Source/WebCore/WebCore.gyp/WebCore.gyp
r100851 r100860 49 49 '../', 50 50 '../..', 51 '../Modules/gamepad', 51 52 '../accessibility', 52 53 '../accessibility/chromium', -
trunk/Source/WebCore/WebCore.gypi
r100833 r100860 1130 1130 ], 1131 1131 'webcore_bindings_idl_files': [ 1132 'Modules/gamepad/Gamepad.idl', 1133 'Modules/gamepad/GamepadList.idl', 1132 1134 'css/CSSCharsetRule.idl', 1133 1135 'css/CSSFontFaceRule.idl', … … 1403 1405 'page/DOMWindow.idl', 1404 1406 'page/EventSource.idl', 1405 'page/Gamepad.idl',1406 'page/GamepadList.idl',1407 1407 'page/Geolocation.idl', 1408 1408 'page/Geoposition.idl', … … 1668 1668 ], 1669 1669 'webcore_files': [ 1670 'Modules/gamepad/Gamepad.cpp', 1671 'Modules/gamepad/Gamepad.h', 1672 'Modules/gamepad/GamepadList.cpp', 1673 'Modules/gamepad/GamepadList.h', 1670 1674 'accessibility/AXObjectCache.cpp', 1671 1675 'accessibility/AccessibilityARIAGrid.cpp', … … 2952 2956 'page/FrameTree.cpp', 2953 2957 'page/FrameView.cpp', 2954 'page/Gamepad.cpp',2955 'page/Gamepad.h',2956 'page/GamepadList.cpp',2957 'page/GamepadList.h',2958 2958 'page/Geolocation.cpp', 2959 2959 'page/GeolocationController.cpp', -
trunk/Source/WebCore/page/Navigator.cpp
r100833 r100860 33 33 #include "FrameLoader.h" 34 34 #include "FrameLoaderClient.h" 35 #include "GamepadList.h"36 35 #include "Geolocation.h" 37 36 #include "PointerLock.h" … … 46 45 #include <wtf/HashSet.h> 47 46 #include <wtf/StdLibExtras.h> 47 48 #if ENABLE(GAMEPAD) 49 #include "GamepadList.h" 50 #endif 48 51 49 52 #if ENABLE(MEDIA_STREAM)
Note: See TracChangeset
for help on using the changeset viewer.