| Index: content/renderer/accessibility/renderer_accessibility.h
|
| diff --git a/content/renderer/accessibility/renderer_accessibility.h b/content/renderer/accessibility/renderer_accessibility.h
|
| index 538f9d4e7b77c11a65b429ed10290475cd70eeb6..93799eaf60c5029ae0dbb5ed5f8186aac7747e23 100644
|
| --- a/content/renderer/accessibility/renderer_accessibility.h
|
| +++ b/content/renderer/accessibility/renderer_accessibility.h
|
| @@ -7,10 +7,9 @@
|
|
|
| #include "content/common/accessibility_messages.h"
|
| #include "content/public/renderer/render_view_observer.h"
|
| -#include "third_party/WebKit/public/web/WebAccessibilityNotification.h"
|
| +#include "third_party/WebKit/public/web/WebAXObject.h"
|
|
|
| namespace WebKit {
|
| -class WebAccessibilityObject;
|
| class WebDocument;
|
| };
|
|
|
| @@ -55,9 +54,8 @@ class CONTENT_EXPORT RendererAccessibility : public RenderViewObserver {
|
| virtual ~RendererAccessibility();
|
|
|
| // Called when an accessibility notification occurs in WebKit.
|
| - virtual void HandleWebAccessibilityNotification(
|
| - const WebKit::WebAccessibilityObject& obj,
|
| - WebKit::WebAccessibilityNotification notification) = 0;
|
| + virtual void HandleWebAccessibilityEvent(
|
| + const WebKit::WebAXObject& obj, WebKit::WebAXEvent event) = 0;
|
|
|
| protected:
|
| // Returns the main top-level document for this page, or NULL if there's
|
| @@ -65,8 +63,7 @@ class CONTENT_EXPORT RendererAccessibility : public RenderViewObserver {
|
| WebKit::WebDocument GetMainDocument();
|
|
|
| #ifndef NDEBUG
|
| - const std::string AccessibilityNotificationToString(
|
| - AccessibilityNotification notification);
|
| + const std::string AccessibilityEventToString(WebKit::WebAXEvent event);
|
| #endif
|
|
|
| // The RenderViewImpl that owns us.
|
|
|