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

Unified Diff: content/renderer/render_view_impl.h

Issue 145283003: Switch AccessibilityMode to be a bitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src@enable
Patch Set: Removed AccessibilityModeFlagRenderer, etc. Created 6 years, 10 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 7333424986dd28165b718d561d718dc700e03629..ad4a6f1ffc2b0807c1c02404923db8afd3106f8c 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -200,7 +200,7 @@ class CONTENT_EXPORT RenderViewImpl
bool hidden,
int32 next_page_id,
const blink::WebScreenInfo& screen_info,
- AccessibilityMode accessibility_mode,
+ unsigned int accessibility_mode,
bool allow_partial_swap);
// Used by content_layouttest_support to hook into the creation of
@@ -951,7 +951,7 @@ class CONTENT_EXPORT RenderViewImpl
const base::string16& jscript,
int id,
bool notify_result);
- void OnSetAccessibilityMode(AccessibilityMode new_mode);
+ void OnSetAccessibilityMode(unsigned int new_mode);
void OnSetActive(bool active);
void OnSetBackground(const SkBitmap& background);
void OnSetCompositionFromExistingText(
@@ -1345,7 +1345,7 @@ class CONTENT_EXPORT RenderViewImpl
DevToolsAgent* devtools_agent_;
// The current accessibility mode.
- AccessibilityMode accessibility_mode_;
+ unsigned int accessibility_mode_;
// Only valid if |accessibility_mode_| is anything other than
// AccessibilityModeOff.

Powered by Google App Engine
This is Rietveld 408576698