| 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 COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 void set_delegate(WebTestDelegate* delegate) { | 76 void set_delegate(WebTestDelegate* delegate) { |
| 77 DCHECK(delegate); | 77 DCHECK(delegate); |
| 78 DCHECK(!delegate_); | 78 DCHECK(!delegate_); |
| 79 delegate_ = delegate; | 79 delegate_ = delegate; |
| 80 } | 80 } |
| 81 | 81 |
| 82 void SetInterfaces(WebTestInterfaces* interfaces); | 82 void SetInterfaces(WebTestInterfaces* interfaces); |
| 83 | 83 |
| 84 std::string DumpBackForwardLists(); | 84 std::string DumpBackForwardLists(); |
| 85 | 85 |
| 86 void LayoutAndPaintAsyncThen(const base::Closure& callback); | |
| 87 | |
| 88 void GetScreenOrientationForTesting(blink::WebScreenInfo&); | 86 void GetScreenOrientationForTesting(blink::WebScreenInfo&); |
| 89 | 87 |
| 90 protected: | 88 protected: |
| 91 WebTestProxyBase(); | 89 WebTestProxyBase(); |
| 92 ~WebTestProxyBase(); | 90 ~WebTestProxyBase(); |
| 93 | 91 |
| 94 blink::WebViewClient* view_test_client() { return view_test_client_.get(); } | 92 blink::WebViewClient* view_test_client() { return view_test_client_.get(); } |
| 95 | 93 |
| 96 private: | 94 private: |
| 97 TestInterfaces* test_interfaces_; | 95 TestInterfaces* test_interfaces_; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 | 211 |
| 214 private: | 212 private: |
| 215 virtual ~WebTestProxy() {} | 213 virtual ~WebTestProxy() {} |
| 216 | 214 |
| 217 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 215 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
| 218 }; | 216 }; |
| 219 | 217 |
| 220 } // namespace test_runner | 218 } // namespace test_runner |
| 221 | 219 |
| 222 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 220 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| OLD | NEW |