diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-04 23:32:20 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-04 23:32:20 +0000 |
commit | 10760e4acd398a047a25284b308134760ce2c0c6 (patch) | |
tree | 7131003922c3befdd30d761cda668572bd7387bb /chrome/renderer/chrome_render_view_observer.cc | |
parent | fa94127695795ba1b35953a88d829e4381e78e7b (diff) | |
download | chromium_src-10760e4acd398a047a25284b308134760ce2c0c6.zip chromium_src-10760e4acd398a047a25284b308134760ce2c0c6.tar.gz chromium_src-10760e4acd398a047a25284b308134760ce2c0c6.tar.bz2 |
Use Blink accessibility enums in Chromium
This is a refactoring-only change! Eliminates enums for
accessibility roles, states, and notifications and uses
equivalent enums from Blink instead. Saves several
giant switch statements, saves a few characters per
line, and makes future changes to roles and states simpler.
Another benefit is that you can search for a role, state,
or event and find all of the places where it's used throughout
the code at once.
Also renames WebAccessibilityObject -> WebAXObject
and notification -> event in the context of accessibility.
BUG=269034
Review URL: https://chromiumcodereview.appspot.com/23651003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221295 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/chrome_render_view_observer.cc')
-rw-r--r-- | chrome/renderer/chrome_render_view_observer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/chrome_render_view_observer.cc b/chrome/renderer/chrome_render_view_observer.cc index c24cf29..fde0f1a 100644 --- a/chrome/renderer/chrome_render_view_observer.cc +++ b/chrome/renderer/chrome_render_view_observer.cc @@ -40,7 +40,7 @@ #include "third_party/WebKit/public/platform/WebString.h" #include "third_party/WebKit/public/platform/WebURLRequest.h" #include "third_party/WebKit/public/platform/WebVector.h" -#include "third_party/WebKit/public/web/WebAccessibilityObject.h" +#include "third_party/WebKit/public/web/WebAXObject.h" #include "third_party/WebKit/public/web/WebDataSource.h" #include "third_party/WebKit/public/web/WebDocument.h" #include "third_party/WebKit/public/web/WebElement.h" @@ -59,7 +59,7 @@ using base::string16; using extensions::APIPermission; -using WebKit::WebAccessibilityObject; +using WebKit::WebAXObject; using WebKit::WebCString; using WebKit::WebDataSource; using WebKit::WebDocument; |