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

Unified Diff: chrome/browser/extensions/api/automation_internal/automation_internal_api.cc

Issue 2558933002: Add more fine-grained accessibility modes. (Closed)
Patch Set: Reformat enums as uppercase Created 4 years 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 | « chrome/browser/extensions/api/automation/automation_apitest.cc ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/automation_internal/automation_internal_api.cc
diff --git a/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc b/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc
index f564ab7a490284cac960a3940235dea34d1b3639..35936b5d918b786e83fc81b0e90eac6486f6cb5a 100644
--- a/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc
+++ b/chrome/browser/extensions/api/automation_internal/automation_internal_api.cc
@@ -271,7 +271,7 @@ AutomationInternalEnableTabFunction::Run() {
}
AutomationWebContentsObserver::CreateForWebContents(contents);
- contents->EnableTreeOnlyAccessibilityMode();
+ contents->EnableWebContentsOnlyAccessibilityMode();
int ax_tree_id = rfh->GetAXTreeID();
@@ -305,7 +305,7 @@ ExtensionFunction::ResponseAction AutomationInternalEnableFrameFunction::Run() {
// Only call this if this is the root of a frame tree, to avoid resetting
// the accessibility state multiple times.
if (!rfh->GetParent())
- contents->EnableTreeOnlyAccessibilityMode();
+ contents->EnableWebContentsOnlyAccessibilityMode();
return RespondNow(NoArguments());
}
« no previous file with comments | « chrome/browser/extensions/api/automation/automation_apitest.cc ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698