summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_widget_host_impl.h
diff options
context:
space:
mode:
authoraboxhall@chromium.org <aboxhall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-12 00:09:10 +0000
committeraboxhall@chromium.org <aboxhall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-12 00:09:10 +0000
commita17df8e38de1dd7ecc68f3bdf7a9c87bb2410e16 (patch)
tree64ae44e814964de0596fc8b2ae9a41ed571de193 /content/browser/renderer_host/render_widget_host_impl.h
parentdab7720f282ec9d55f3a5eb56ee78a38e4a305c2 (diff)
downloadchromium_src-a17df8e38de1dd7ecc68f3bdf7a9c87bb2410e16.zip
chromium_src-a17df8e38de1dd7ecc68f3bdf7a9c87bb2410e16.tar.gz
chromium_src-a17df8e38de1dd7ecc68f3bdf7a9c87bb2410e16.tar.bz2
Adds a chrome://accessibility page, which:
Adds a toggle for global accessibility mode (on/off) For each renderer: - shows an accessibility mode toggle - if accessibility mode is On, shows a 'Show(/hide) accessibility tree' toggle, which shows(/hides) a text representation of the accessibility tree inline in the page. The accessibility tree may also be refreshed. BUG=178756 Review URL: https://chromiumcodereview.appspot.com/11791028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/render_widget_host_impl.h')
-rw-r--r--content/browser/renderer_host/render_widget_host_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 61d8bfd..9485aa8 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -328,6 +328,11 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
void SetEditCommandsForNextKeyEvent(
const std::vector<EditCommand>& commands);
+ // Gets the accessibility mode.
+ AccessibilityMode accessibility_mode() const {
+ return accessibility_mode_;
+ }
+
// Send a message to the renderer process to change the accessibility mode.
void SetAccessibilityMode(AccessibilityMode mode);
@@ -738,6 +743,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
// would be queued) results in very slow scrolling.
WheelEventQueue coalesced_mouse_wheel_events_;
+ AccessibilityMode accessibility_mode_;
+
// (Similar to |mouse_move_pending_|.) True while waiting for SelectRange_ACK.
bool select_range_pending_;