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

Unified Diff: content/browser/web_contents/web_contents_impl.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
Index: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 5644671e863745ee24a2824bb41e38e9964b4c76..589ad951613fb74a408e9a307608d731d2868400 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -226,12 +226,6 @@ class CONTENT_EXPORT WebContentsImpl
// bitmap.
void AddAccessibilityMode(AccessibilityMode mode);
- // Removes the given accessibility mode from the current accessibility
- // mode bitmap, managing the bits that are shared with other modes such
- // that a bit will only be turned off when all modes that depend on it
- // have been removed.
- void RemoveAccessibilityMode(AccessibilityMode mode);
-
// Request a one-time snapshot of the accessibility tree without changing
// the accessibility mode.
using AXTreeSnapshotCallback =
@@ -294,8 +288,8 @@ class CONTENT_EXPORT WebContentsImpl
WebUI* GetCommittedWebUI() const override;
void SetUserAgentOverride(const std::string& override) override;
const std::string& GetUserAgentOverride() const override;
- void EnableTreeOnlyAccessibilityMode() override;
- bool IsTreeOnlyAccessibilityModeForTesting() const override;
+ void EnableWebContentsOnlyAccessibilityMode() override;
+ bool IsWebContentsOnlyAccessibilityModeForTesting() const override;
bool IsFullAccessibilityModeForTesting() const override;
const PageImportanceSignals& GetPageImportanceSignals() const override;
const base::string16& GetTitle() const override;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698