Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: content/child/runtime_features.cc

Issue 165483003: Gamepad API for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 9 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
« no previous file with comments | « content/browser/gamepad/gamepad_standard_mappings.h ('k') | content/content.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 6b8666872f7040c5e2c970ba720de5c392ea28cd..072b7713139e03dd30005e79761a0768b6be0a31 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -31,8 +31,6 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
WebRuntimeFeatures::enableWebAudio(
media::MediaCodecBridge::IsAvailable() &&
(android_getCpuFamily() == ANDROID_CPU_FAMILY_ARM));
- // Android does not support the Gamepad API.
- WebRuntimeFeatures::enableGamepad(false);
// Android does not have support for PagePopup
WebRuntimeFeatures::enablePagePopup(false);
// Android does not yet support the Web Notification API. crbug.com/115320
« no previous file with comments | « content/browser/gamepad/gamepad_standard_mappings.h ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698