OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/shell/renderer/test_runner/mock_screen_orientation_client.h" | 9 #include "components/test_runner/mock_screen_orientation_client.h" |
10 #include "content/shell/renderer/test_runner/test_interfaces.h" | 10 #include "components/test_runner/test_interfaces.h" |
11 #include "content/shell/renderer/test_runner/test_runner.h" | 11 #include "components/test_runner/test_runner.h" |
12 #include "content/shell/renderer/test_runner/web_test_delegate.h" | 12 #include "components/test_runner/web_test_delegate.h" |
13 #include "content/shell/renderer/test_runner/web_test_proxy.h" | 13 #include "components/test_runner/web_test_proxy.h" |
14 #include "third_party/WebKit/public/platform/WebString.h" | 14 #include "third_party/WebKit/public/platform/WebString.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 // Templetized wrapper around RenderFrameImpl objects, which implement | 18 // Templetized wrapper around RenderFrameImpl objects, which implement |
19 // the WebFrameClient interface. | 19 // the WebFrameClient interface. |
20 template <class Base, typename P, typename R> | 20 template <class Base, typename P, typename R> |
21 class WebFrameTestProxy : public Base { | 21 class WebFrameTestProxy : public Base { |
22 public: | 22 public: |
23 WebFrameTestProxy(P p, R r) : Base(p, r), base_proxy_(NULL) {} | 23 WebFrameTestProxy(P p, R r) : Base(p, r), base_proxy_(NULL) {} |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 } | 282 } |
283 | 283 |
284 private: | 284 private: |
285 WebTestProxyBase* base_proxy_; | 285 WebTestProxyBase* base_proxy_; |
286 | 286 |
287 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); | 287 DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy); |
288 }; | 288 }; |
289 | 289 |
290 } // namespace content | 290 } // namespace content |
291 | 291 |
292 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ | 292 #endif // COMPONENTS_TEST_RUNNER_WEB_FRAME_TEST_PROXY_H_ |
OLD | NEW |