diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-08-27 01:01:00 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-08-27 01:01:00 +0000 |
commit | 45b25458dd5def3b026049abb81c475025445075 (patch) | |
tree | 0e3d08f9040789d6c4bc246f3333c9125776da3e /third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields | |
parent | 3761d6f4b2147cf4abd5240eed57f983988b0285 (diff) | |
download | chromium_src-45b25458dd5def3b026049abb81c475025445075.zip chromium_src-45b25458dd5def3b026049abb81c475025445075.tar.gz chromium_src-45b25458dd5def3b026049abb81c475025445075.tar.bz2 |
Clean up accessibility enums for use in Chromium.
The goal of this change is to make it possible for Chromium to use
Blink accessibility role, state, and event enums throughout
its codebase, rather than copying to separate enums.
* Rename the enums in public/web so they're more concise, e.g.
WebAccessibilityRoleDocumentArticle -> WebAXTypes::ArticleRole
WebAccessibilityNotificationLoadComplete -> WebAXTypes::LoadComplete
* Add missing enum values currently used in Chromium, delete unused values.
* Rename a few enum values that were unclear or confusing.
This will require a cleanup change after Chromium switches over.
BUG=269034
Review URL: https://chromiumcodereview.appspot.com/22331005
git-svn-id: svn://svn.chromium.org/blink/trunk@156740 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields')
2 files changed, 3 insertions, 3 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification-expected.txt index 3b7a8a9..4a59bcb 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification-expected.txt @@ -3,8 +3,8 @@ This test checks value changed accessibility notifications. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -FocusedUIElementChanged AXHelp: Week=AXValueDescription: 10 -FocusedUIElementChanged AXHelp: Year=AXValueDescription: 2012 +Focus AXHelp: Week=AXValueDescription: 10 +Focus AXHelp: Year=AXValueDescription: 2012 ValueChanged AXHelp: Year=AXValueDescription: 0005 ValueChanged AXHelp: Year=AXValueDescription: 0005 ValueChanged AXHelp: Year=AXValueDescription: 0005 diff --git a/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification.html b/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification.html index 209c880..c9b7ebc 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification.html +++ b/third_party/WebKit/LayoutTests/fast/forms/week-multiple-fields/week-multiple-fields-ax-value-changed-notification.html @@ -14,7 +14,7 @@ if (!window.accessibilityController || !window.eventSender) debug("Please run inside DRT or WRT."); else { accessibilityController.addNotificationListener(function (element, notification) { - if (notification == 'FocusedUIElementChanged' || notification == 'ValueChanged') { + if (notification == 'Focus' || notification == 'ValueChanged') { debug(notification + ' ' + element.helpText + '=' + element.valueDescription); } }); |