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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 145283003: Switch AccessibilityMode to be a bitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src@enable
Patch Set: rebase Created 6 years, 11 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/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index df6dc8daa2bf9fa796b805eb4e3f1e51d2e9cc75..70cf2bc8ab25d095bfa5a3642935ede43515b0ef 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -392,12 +392,12 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
const std::vector<EditCommand>& commands);
// Gets the accessibility mode.
- AccessibilityMode accessibility_mode() const {
+ unsigned int accessibility_mode() const {
return accessibility_mode_;
}
// Send a message to the renderer process to change the accessibility mode.
- void SetAccessibilityMode(AccessibilityMode mode);
+ void SetAccessibilityMode(unsigned int mode);
// Relay a request from assistive technology to perform the default action
// on a given node.
@@ -830,7 +830,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
gfx::Rect last_view_screen_rect_;
gfx::Rect last_window_screen_rect_;
- AccessibilityMode accessibility_mode_;
+ unsigned int accessibility_mode_;
// Keyboard event listeners.
std::vector<KeyPressEventCallback> key_press_event_callbacks_;

Powered by Google App Engine
This is Rietveld 408576698