Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: content/child/

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL:
Patch Set: Created 6 years, 10 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: content/child/
diff --git a/content/child/ b/content/child/
index 8e0e79818d667d06acc84414f91b8384fe33d847..c548cbc7429b279da0670794a027ef99710b15b8 100644
--- a/content/child/
+++ b/content/child/
@@ -31,8 +31,8 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
media::MediaCodecBridge::IsAvailable() &&
(android_getCpuFamily() == ANDROID_CPU_FAMILY_ARM));
- // Android does not support the Gamepad API.
- WebRuntimeFeatures::enableGamepad(false);
+ // Enable Gamepad at runtime as Android supports the Gamepad API
+ WebRuntimeFeatures::enableGamepad(true);
bajones 2014/02/28 23:56:11 Can't this line be removed now?
SaurabhK 2014/03/11 17:39:27 On 2014/02/28 23:56:11, bajones wrote: Removed no
// Android does not have support for PagePopup
// Android does not yet support the Web Notification API.

Powered by Google App Engine
This is Rietveld 408576698