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 | |
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')
10 files changed, 19 insertions, 19 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification-expected.txt index d4fc8ae..5666f5d 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification-expected.txt @@ -3,9 +3,9 @@ This test checks value changed accessibility notifications. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -FocusedUIElementChanged AXHelp: Month=AXValueDescription: 10 -FocusedUIElementChanged AXHelp: Day=AXValueDescription: 09 -FocusedUIElementChanged AXHelp: Year=AXValueDescription: 2012 +Focus AXHelp: Month=AXValueDescription: 10 +Focus AXHelp: Day=AXValueDescription: 09 +Focus AXHelp: Year=AXValueDescription: 2012 ValueChanged AXHelp: Day=AXValueDescription: 04 ValueChanged AXHelp: Day=AXValueDescription: 04 ValueChanged AXHelp: Year=AXValueDescription: 2013 diff --git a/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification.html b/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification.html index 39790a2..2e99769 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification.html +++ b/third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-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); } }); diff --git a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification-expected.txt index 54bfdae..775a2a5 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification-expected.txt @@ -3,11 +3,11 @@ This test checks value changed accessibility notifications. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -FocusedUIElementChanged AXHelp: Month=AXValueDescription: 10 -FocusedUIElementChanged AXHelp: Day=AXValueDescription: 09 -FocusedUIElementChanged AXHelp: Year=AXValueDescription: 2012 -FocusedUIElementChanged AXHelp: Hours=AXValueDescription: 12 -FocusedUIElementChanged AXHelp: Minutes=AXValueDescription: 34 +Focus AXHelp: Month=AXValueDescription: 10 +Focus AXHelp: Day=AXValueDescription: 09 +Focus AXHelp: Year=AXValueDescription: 2012 +Focus AXHelp: Hours=AXValueDescription: 12 +Focus AXHelp: Minutes=AXValueDescription: 34 ValueChanged AXHelp: Day=AXValueDescription: 04 ValueChanged AXHelp: Day=AXValueDescription: 04 ValueChanged AXHelp: Year=AXValueDescription: 2013 diff --git a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification.html b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification.html index 80d98d89..40055cf 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-ax-value-changed-notification.html +++ b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal-multiple-fields/datetimelocal-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); } }); diff --git a/third_party/WebKit/LayoutTests/fast/forms/month-multiple-fields/month-multiple-fields-ax-value-changed-notification-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/month-multiple-fields/month-multiple-fields-ax-value-changed-notification-expected.txt index c8e95bb..3926e79 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/month-multiple-fields/month-multiple-fields-ax-value-changed-notification-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/forms/month-multiple-fields/month-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: Month=AXValueDescription: October -FocusedUIElementChanged AXHelp: Year=AXValueDescription: 2012 +Focus AXHelp: Month=AXValueDescription: October +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/month-multiple-fields/month-multiple-fields-ax-value-changed-notification.html b/third_party/WebKit/LayoutTests/fast/forms/month-multiple-fields/month-multiple-fields-ax-value-changed-notification.html index 33f8d86..ab1be04 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/month-multiple-fields/month-multiple-fields-ax-value-changed-notification.html +++ b/third_party/WebKit/LayoutTests/fast/forms/month-multiple-fields/month-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); } }); diff --git a/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification-expected.txt index 2e5ed9b..da90a6e 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-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: Hours=AXValueDescription: 12 -FocusedUIElementChanged AXHelp: Minutes=AXValueDescription: 34 +Focus AXHelp: Hours=AXValueDescription: 12 +Focus AXHelp: Minutes=AXValueDescription: 34 ValueChanged AXHelp: Minutes=AXValueDescription: 05 ValueChanged AXHelp: Minutes=AXValueDescription: 05 ValueChanged AXHelp: Minutes=AXValueDescription: 05 diff --git a/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification.html b/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification.html index 0590fa3..fe81cf3 100644 --- a/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification.html +++ b/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-ax-value-changed-notification.html @@ -16,7 +16,7 @@ function enableAccessibility() } accessibilityController.addNotificationListener(function (element, notification) { - if (notification == 'FocusedUIElementChanged' || notification == 'ValueChanged') { + if (notification == 'Focus' || notification == 'ValueChanged') { debug(notification + ' ' + element.helpText + '=' + element.valueDescription); } }); 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); } }); |