| Index: content/shell/renderer/test_runner/WebTestProxy.cpp
|
| diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp
|
| index 2948c77fa6c1cf0d9986116d27bc24a0fdf0da3d..49e913cbf9b7436be0a9f8c95ebf982fab921196 100644
|
| --- a/content/shell/renderer/test_runner/WebTestProxy.cpp
|
| +++ b/content/shell/renderer/test_runner/WebTestProxy.cpp
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <cctype>
|
|
|
| +#include "content/shell/renderer/test_runner/AccessibilityController.h"
|
| #include "content/shell/renderer/test_runner/EventSender.h"
|
| #include "content/shell/renderer/test_runner/MockColorChooser.h"
|
| #include "content/shell/renderer/test_runner/MockWebSpeechInputController.h"
|
| @@ -19,7 +20,6 @@
|
| #include "content/shell/renderer/test_runner/WebTestInterfaces.h"
|
| #include "content/shell/renderer/test_runner/WebTestRunner.h"
|
| #include "content/shell/renderer/test_runner/WebUserMediaClientMock.h"
|
| -#include "content/shell/renderer/test_runner/accessibility_controller.h"
|
| // FIXME: Including platform_canvas.h here is a layering violation.
|
| #include "skia/ext/platform_canvas.h"
|
| #include "third_party/WebKit/public/platform/WebCString.h"
|
| @@ -759,7 +759,7 @@
|
| void WebTestProxyBase::postAccessibilityEvent(const blink::WebAXObject& obj, blink::WebAXEvent event)
|
| {
|
| if (event == blink::WebAXEventFocus)
|
| - m_testInterfaces->accessibilityController()->SetFocusedElement(obj);
|
| + m_testInterfaces->accessibilityController()->setFocusedElement(obj);
|
|
|
| const char* eventName = 0;
|
| switch (event) {
|
| @@ -849,9 +849,9 @@
|
| break;
|
| }
|
|
|
| - m_testInterfaces->accessibilityController()->NotificationReceived(obj, eventName);
|
| -
|
| - if (m_testInterfaces->accessibilityController()->ShouldLogAccessibilityEvents()) {
|
| + m_testInterfaces->accessibilityController()->notificationReceived(obj, eventName);
|
| +
|
| + if (m_testInterfaces->accessibilityController()->shouldLogAccessibilityEvents()) {
|
| string message("AccessibilityNotification - ");
|
| message += eventName;
|
|
|
|
|