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

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

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of ForEachFrameAndPendingFrame Created 6 years, 7 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 8a717b86dd9212e5a6b2539348155a13d8a45511..42411b9c8cf75aa449b4633e87ce95f8aef2ccc3 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -226,6 +226,18 @@ 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;
+
+ // Returns true only if "tree only" accessibility mode is on.
+ virtual bool IsTreeOnlyAccessibilityModeForTesting() const = 0;
+
+ // Returns true only if complete accessibility mode is on, meaning there's
+ // both renderer accessibility, and a native browser accessibility tree.
+ virtual bool IsFullAccessibilityModeForTesting() const = 0;
+
#if defined(OS_WIN)
virtual void SetParentNativeViewAccessible(
gfx::NativeViewAccessible accessible_parent) = 0;

Powered by Google App Engine
This is Rietveld 408576698