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

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: Switch back to AccessibilityMode enums in accessibility_ui.cc 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 97d4c136f87484a1b315c217e23cfd988f65e7e8..bb381d70e27a20314aec4a317d30f92d2ed326de 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -192,7 +192,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
@@ -943,7 +943,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(
@@ -1337,7 +1337,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.
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility_complete.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698