| Index: components/test_runner/accessibility_controller.h
|
| diff --git a/components/test_runner/accessibility_controller.h b/components/test_runner/accessibility_controller.h
|
| index 376f7b08cd001fea9752dec17d70503d21834ea1..82618fc2241b56e3c0dbb47dfc74098201c68ef7 100644
|
| --- a/components/test_runner/accessibility_controller.h
|
| +++ b/components/test_runner/accessibility_controller.h
|
| @@ -14,30 +14,26 @@
|
| #include "v8/include/v8.h"
|
|
|
| namespace blink {
|
| -class WebFrame;
|
| +class WebLocalFrame;
|
| class WebString;
|
| class WebView;
|
| }
|
|
|
| namespace test_runner {
|
|
|
| -class WebTestDelegate;
|
| +class WebTestProxyBase;
|
|
|
| -class AccessibilityController :
|
| - public base::SupportsWeakPtr<AccessibilityController> {
|
| +class AccessibilityController {
|
| public:
|
| - AccessibilityController();
|
| + explicit AccessibilityController(WebTestProxyBase* web_test_proxy_base);
|
| ~AccessibilityController();
|
|
|
| void Reset();
|
| - void Install(blink::WebFrame* frame);
|
| + void Install(blink::WebLocalFrame* frame);
|
| bool ShouldLogAccessibilityEvents();
|
| void NotificationReceived(const blink::WebAXObject& target,
|
| const std::string& notification_name);
|
|
|
| - void SetDelegate(WebTestDelegate* delegate);
|
| - void SetWebView(blink::WebView* web_view);
|
| -
|
| private:
|
| friend class AccessibilityControllerBindings;
|
|
|
| @@ -59,8 +55,8 @@ class AccessibilityController :
|
|
|
| v8::Persistent<v8::Function> notification_callback_;
|
|
|
| - WebTestDelegate* delegate_;
|
| - blink::WebView* web_view_;
|
| + blink::WebView* web_view();
|
| + WebTestProxyBase* web_test_proxy_base_;
|
|
|
| base::WeakPtrFactory<AccessibilityController> weak_factory_;
|
|
|
|
|