Changeset 205470 in webkit
- Timestamp:
- Sep 5, 2016 10:57:16 PM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/CMakeLists.txt
r205369 r205470 117 117 "${WEBCORE_DIR}/platform/animation" 118 118 "${WEBCORE_DIR}/platform/audio" 119 "${WEBCORE_DIR}/platform/gamepad" 119 120 "${WEBCORE_DIR}/platform/graphics" 120 121 "${WEBCORE_DIR}/platform/graphics/filters" … … 331 332 Shared/Databases/IndexedDB/IDBUtilities.cpp 332 333 Shared/Databases/IndexedDB/WebIDBResult.cpp 334 335 Shared/Gamepad/GamepadData.cpp 333 336 334 337 Shared/Plugins/NPIdentifierData.cpp … … 485 488 UIProcess/Downloads/DownloadProxyMap.cpp 486 489 490 UIProcess/Gamepad/UIGamepad.cpp 487 491 UIProcess/Gamepad/UIGamepadProvider.cpp 488 492 -
trunk/Source/WebKit2/ChangeLog
r205469 r205470 1 2016-09-05 Zan Dobersek <zdobersek@igalia.com> 2 3 Fix ENABLE(GAMEPAD) build errors on non-Cocoa platforms 4 https://bugs.webkit.org/show_bug.cgi?id=161596 5 6 Reviewed by Darin Adler. 7 8 This patch fixes build errors popping up when enabling Gamepad 9 feature on non-Cocoa platforms. 10 11 * CMakeLists.txt: Add the Source/WebCore/platform/gamepad/ directory to 12 WebKit2_INCLUDE_DIRECTORIES. Add GamepadData.cpp, UIGamepad.cpp files to the build. 13 * UIProcess/Gamepad/UIGamepadProvider.cpp: Don't include Cocoa-specific 14 HIDGamepadProvider.h file. Update methods for the UIGamepadProvider class. 15 (WebKit::UIGamepadProvider::platformWebPageProxyForGamepadInput): 16 (WebKit::UIGamepadProvider::platformStartMonitoringGamepads): Deleted. 17 (WebKit::UIGamepadProvider::platformStopMonitoringGamepads): Deleted. 18 (WebKit::UIGamepadProvider::platformGamepads): Deleted. 19 (WebKit::UIGamepadProvider::platformWebProcessProxyForGamepadInput): Deleted. 20 1 21 2016-09-05 Tim Horton <timothy_horton@apple.com> 2 22 -
trunk/Source/WebKit2/UIProcess/Gamepad/UIGamepadProvider.cpp
r205247 r205470 32 32 #include "UIGamepad.h" 33 33 #include "WebProcessPool.h" 34 #include <WebCore/HIDGamepadProvider.h>35 34 #include <WebCore/MockGamepadProvider.h> 35 #include <WebCore/PlatformGamepad.h> 36 36 #include <wtf/NeverDestroyed.h> 37 37 … … 231 231 } 232 232 233 void UIGamepadProvider::platformStartMonitoringGamepads()233 WebPageProxy* UIGamepadProvider::platformWebPageProxyForGamepadInput() 234 234 { 235 235 // FIXME: Implement for other platforms 236 } 237 238 void UIGamepadProvider::platformStopMonitoringGamepads() 239 { 240 // FIXME: Implement for other platforms 241 } 242 243 const Vector<PlatformGamepad*>& UIGamepadProvider::platformGamepads() 244 { 245 static NeverDestroyed<Vector<PlatformGamepad*>> emptyGamepads; 246 return emptyGamepads; 247 248 // FIXME: Implement for other platforms 249 } 250 251 WebProcessProxy* UIGamepadProvider::platformWebProcessProxyForGamepadInput() 252 { 253 // FIXME: Implement for other platforms 236 return nullptr; 254 237 } 255 238
Note: See TracChangeset
for help on using the changeset viewer.