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

Unified Diff: content/public/browser/web_contents.h

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 | « content/common/frame_messages.h ('k') | content/public/browser/web_contents_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index dab16864e025c301c613328f12f8f576cdb5742c..a5e25357162ed23c75c10f613567c16cf8d84e25 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -302,13 +302,13 @@ class WebContents : public PageNavigator,
virtual void SetUserAgentOverride(const std::string& override) = 0;
virtual const std::string& GetUserAgentOverride() const = 0;
- // Enable the accessibility tree for this WebContents in the renderer,
- // but don't enable creating a native accessibility tree on the browser
- // side.
- virtual void EnableTreeOnlyAccessibilityMode() = 0;
+ // Set the accessibility mode so that accessibility events are forwarded
+ // to each WebContentsObserver.
+ virtual void EnableWebContentsOnlyAccessibilityMode() = 0;
- // Returns true only if "tree only" accessibility mode is on.
- virtual bool IsTreeOnlyAccessibilityModeForTesting() const = 0;
+ // Returns true only if the WebContentsObserver accessibility mode is
+ // enabled.
+ virtual bool IsWebContentsOnlyAccessibilityModeForTesting() const = 0;
// Returns true only if complete accessibility mode is on, meaning there's
// both renderer accessibility, and a native browser accessibility tree.
« no previous file with comments | « content/common/frame_messages.h ('k') | content/public/browser/web_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698