| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 WebTestDelegate* delegate() { return delegate_; } | 75 WebTestDelegate* delegate() { return delegate_; } |
| 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(); | |
| 85 | |
| 86 void GetScreenOrientationForTesting(blink::WebScreenInfo&); | 84 void GetScreenOrientationForTesting(blink::WebScreenInfo&); |
| 87 | 85 |
| 88 protected: | 86 protected: |
| 89 WebTestProxyBase(); | 87 WebTestProxyBase(); |
| 90 ~WebTestProxyBase(); | 88 ~WebTestProxyBase(); |
| 91 | 89 |
| 92 blink::WebViewClient* view_test_client() { return view_test_client_.get(); } | 90 blink::WebViewClient* view_test_client() { return view_test_client_.get(); } |
| 93 | 91 |
| 94 private: | 92 private: |
| 95 TestInterfaces* test_interfaces_; | 93 TestInterfaces* test_interfaces_; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 | 209 |
| 212 private: | 210 private: |
| 213 virtual ~WebTestProxy() {} | 211 virtual ~WebTestProxy() {} |
| 214 | 212 |
| 215 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 213 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
| 216 }; | 214 }; |
| 217 | 215 |
| 218 } // namespace test_runner | 216 } // namespace test_runner |
| 219 | 217 |
| 220 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 218 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
| OLD | NEW |