summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_params.h
diff options
context:
space:
mode:
authorctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-25 06:41:14 +0000
committerctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-25 06:41:14 +0000
commitdea2d37cbf7cfa80b8c357d81ca706ac856325b6 (patch)
treea2c6b4991563ffa0567729693951e2eb7e187ee5 /chrome/common/render_messages_params.h
parent9d3f7d5e85d9834495434d7b925c1ba7933a344f (diff)
downloadchromium_src-dea2d37cbf7cfa80b8c357d81ca706ac856325b6.zip
chromium_src-dea2d37cbf7cfa80b8c357d81ca706ac856325b6.tar.gz
chromium_src-dea2d37cbf7cfa80b8c357d81ca706ac856325b6.tar.bz2
Support additional webkit accessibility notifications and states.
1. Update WebAccessibility::ConvertState to function similarly to WebCore's AccessibleBase::get_accState. 2. Use WebKit's load complete notification to send the renderer's tree to the browser. We enable accessibility on the renderer now instead of requesting a tree. 3. Use WebKit's focused ui element notification to send renderer focus events to the browser. BUG=13291 BUG=38106 TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationActiveDescendantChanged TEST=interactive_ui_tests:AccessibilityWinBrowserTest.TestNotificationFocusChanged Review URL: http://codereview.chromium.org/3380017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_params.h')
-rw-r--r--chrome/common/render_messages_params.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/render_messages_params.h b/chrome/common/render_messages_params.h
index 0af173e..8cb9d93 100644
--- a/chrome/common/render_messages_params.h
+++ b/chrome/common/render_messages_params.h
@@ -997,6 +997,12 @@ struct ViewHostMsg_AccessibilityNotification_Params {
// The node tree structure has changed.
NOTIFICATION_TYPE_CHILDREN_CHANGED,
+ // The node in focus has changed.
+ NOTIFICATION_TYPE_FOCUS_CHANGED,
+
+ // The document node has loaded.
+ NOTIFICATION_TYPE_LOAD_COMPLETE,
+
// The node value has changed.
NOTIFICATION_TYPE_VALUE_CHANGED,
};