OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "third_party/WebKit/public/web/WebFrameClient.h" | 12 #include "third_party/WebKit/public/web/WebFrameClient.h" |
13 | 13 |
14 namespace test_runner { | 14 namespace test_runner { |
15 | 15 |
16 class AccessibilityController; | |
17 class TestRunner; | 16 class TestRunner; |
18 class WebFrameTestProxyBase; | 17 class WebFrameTestProxyBase; |
19 class WebTestDelegate; | 18 class WebTestDelegate; |
20 class WebViewTestProxyBase; | 19 class WebViewTestProxyBase; |
21 | 20 |
22 // WebFrameTestClient implements WebFrameClient interface, providing behavior | 21 // WebFrameTestClient implements WebFrameClient interface, providing behavior |
23 // expected by tests. WebFrameTestClient ends up used by WebFrameTestProxy | 22 // expected by tests. WebFrameTestClient ends up used by WebFrameTestProxy |
24 // which coordinates forwarding WebFrameClient calls either to | 23 // which coordinates forwarding WebFrameClient calls either to |
25 // WebFrameTestClient or to the product code (i.e. to RenderFrameImpl). | 24 // WebFrameTestClient or to the product code (i.e. to RenderFrameImpl). |
26 class WebFrameTestClient : public blink::WebFrameClient { | 25 class WebFrameTestClient : public blink::WebFrameClient { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 WebTestDelegate* delegate_; | 111 WebTestDelegate* delegate_; |
113 WebViewTestProxyBase* web_view_test_proxy_base_; | 112 WebViewTestProxyBase* web_view_test_proxy_base_; |
114 WebFrameTestProxyBase* web_frame_test_proxy_base_; | 113 WebFrameTestProxyBase* web_frame_test_proxy_base_; |
115 | 114 |
116 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); | 115 DISALLOW_COPY_AND_ASSIGN(WebFrameTestClient); |
117 }; | 116 }; |
118 | 117 |
119 } // namespace test_runner | 118 } // namespace test_runner |
120 | 119 |
121 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ | 120 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_CLIENT_H_ |
OLD | NEW |