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

Unified Diff: content/child/runtime_features.cc

Issue 2787843003: Add Accessibility Object Model to content features, and add a browser test. (Closed)
Patch Set: Rebase Created 3 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
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index d7b8b9b4962c3d43a90650cb87f954e8c6b5d03e..b8653d89aa79b5ed6941e121f769fbc8523d588d 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -317,6 +317,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
features::kSendBeaconThrowForBlobWithNonSimpleType))
WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(true);
+ WebRuntimeFeatures::enableAccessibilityObjectModel(
+ base::FeatureList::IsEnabled(features::kAccessibilityObjectModel));
+
#if defined(OS_ANDROID)
if (command_line.HasSwitch(switches::kDisableMediaSessionAPI))
WebRuntimeFeatures::enableMediaSession(false);

Powered by Google App Engine
This is Rietveld 408576698