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

Unified Diff: content/child/runtime_features.cc

Issue 580403003: Remove Gamepad runtime flag (status=stable) for chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | 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 65c96752ac7c9c37aa85c2f6722d51e7dd7bfb67..4b8badd38468dc3bffc3aa2bf44168a815cf5265 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -42,9 +42,6 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
(cpu_family == ANDROID_CPU_FAMILY_X86) ||
(cpu_family == ANDROID_CPU_FAMILY_MIPS)));
- // Android supports gamepad API for JellyBean and beyond
- WebRuntimeFeatures::enableGamepad(
- base::android::BuildInfo::GetInstance()->sdk_int() >= 16);
// 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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698