Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Side by Side Diff: components/test_runner/web_test_proxy.h

Issue 1889673002: Move LayoutAndPaintAsyncThen to a separate compilation unit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/test_runner/test_runner.gyp ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/test_runner/test_runner.gyp ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698