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 /content/port | |
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 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index e398e52..9614b4a 100644 --- a/content/port/browser/render_widget_host_view_port.h +++ b/content/port/browser/render_widget_host_view_port.h @@ -24,7 +24,7 @@ class SkBitmap; class WebCursor; -struct AccessibilityHostMsg_NotificationParams; +struct AccessibilityHostMsg_EventParams; struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; struct ViewHostMsg_TextInputState_Params; @@ -294,8 +294,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, virtual BrowserAccessibilityManager* GetBrowserAccessibilityManager() const = 0; - virtual void OnAccessibilityNotifications( - const std::vector<AccessibilityHostMsg_NotificationParams>& params) = 0; + virtual void OnAccessibilityEvents( + const std::vector<AccessibilityHostMsg_EventParams>& params) = 0; // Return a value that is incremented each time the renderer swaps a new frame // to the view. |