| Index: components/test_runner/test_runner.h
|
| diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
|
| index 6cb454b122c379e99194ffece5b0a8bb75504a2b..a22a5dbc2efe6ec867598f6692843633e4349b31 100644
|
| --- a/components/test_runner/test_runner.h
|
| +++ b/components/test_runner/test_runner.h
|
| @@ -30,6 +30,7 @@ class WebFrame;
|
| class WebLocalFrame;
|
| class WebString;
|
| class WebView;
|
| +class WebWidget;
|
| }
|
|
|
| namespace gin {
|
| @@ -98,8 +99,8 @@ class TestRunner : public WebTestRunner {
|
| void SetFocus(blink::WebView* web_view, bool focus) override;
|
|
|
| // Methods used by WebViewTestClient and WebFrameTestClient.
|
| - void OnAnimationScheduled(blink::WebView* view);
|
| - void OnAnimationBegun(blink::WebView* view);
|
| + void OnAnimationScheduled(blink::WebWidget* widget);
|
| + void OnAnimationBegun(blink::WebWidget* widget);
|
| std::string GetAcceptLanguages() const;
|
| bool shouldStayOnPageAfterHandlingBeforeUnload() const;
|
| MockScreenOrientationClient* getMockScreenOrientationClient();
|
| @@ -641,7 +642,7 @@ class TestRunner : public WebTestRunner {
|
| // is ok, because this is taken care of in WebTestDelegate::SetFocus).
|
| blink::WebView* previously_focused_view_;
|
|
|
| - std::set<blink::WebView*> views_with_scheduled_animations_;
|
| + std::set<blink::WebWidget*> widgets_with_scheduled_animations_;
|
|
|
| base::WeakPtrFactory<TestRunner> weak_factory_;
|
|
|
|
|