[Chromium] gamepad changes to the public interface of Chromium port
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2011 20:05:34 +0000 (20:05 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2011 20:05:34 +0000 (20:05 +0000)
commitc4ab83d1612402a00149900660af008fc2841055
tree7786f7750f9c99a2bea4ea17cc5fb0edc032f35c
parentbd07b2756558e948b61207922a984245d51b9022
[Chromium] gamepad changes to the public interface of Chromium port
https://bugs.webkit.org/show_bug.cgi?id=71518

Patch by Scott Graham <scottmg@chromium.org> on 2011-11-15
Reviewed by Darin Fisher.

Adds stubs for Chromium port, and defines shared memory structure to
be used between browser and WebKit.

Includes just the parts that touch the public interface so they can be
reviewed separately. See also:
https://bugs.webkit.org/show_bug.cgi?id=69451 and
http://codereview.chromium.org/8345027

* WebKit.gyp:
* public/WebGamepad.h: Added.
(WebKit::WebGamepad::WebGamepad):
* public/WebGamepads.h: Added.
(WebKit::WebGamepads::WebGamepads):
* public/WebKitPlatformSupport.h:
(WebKit::WebKitPlatformSupport::sampleGamepads):
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableGamepad):
(WebKit::WebRuntimeFeatures::isGamepadEnabled):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/WebKit.gyp
Source/WebKit/chromium/public/WebGamepad.h [new file with mode: 0644]
Source/WebKit/chromium/public/WebGamepads.h [new file with mode: 0644]
Source/WebKit/chromium/public/WebKitPlatformSupport.h
Source/WebKit/chromium/public/WebRuntimeFeatures.h
Source/WebKit/chromium/src/WebRuntimeFeatures.cpp