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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 1685003002: Plumb the correct owner document through DocumentInit::m_owner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void ResolveBeforeInstallPromptPromise( 151 void ResolveBeforeInstallPromptPromise(
152 int request_id, 152 int request_id,
153 const std::string& platform) override; 153 const std::string& platform) override;
154 blink::WebPlugin* CreatePluginPlaceholder( 154 blink::WebPlugin* CreatePluginPlaceholder(
155 blink::WebLocalFrame* frame, 155 blink::WebLocalFrame* frame,
156 const blink::WebPluginParams& params) override; 156 const blink::WebPluginParams& params) override;
157 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override; 157 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override;
158 blink::WebPoint ConvertDIPToNative( 158 blink::WebPoint ConvertDIPToNative(
159 const blink::WebPoint& point_in_dip) const override; 159 const blink::WebPoint& point_in_dip) const override;
160 160
161 void Reset(); 161 void Reset(bool for_new_test);
Charlie Reis 2016/02/25 01:08:08 Let's add some comment about what this method and
dcheng 2016/02/25 01:13:28 Done (I'll upload this with my next patch, which t
162 162
163 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } 163 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; }
164 test_runner::WebTestProxyBase* proxy() const { return proxy_; } 164 test_runner::WebTestProxyBase* proxy() const { return proxy_; }
165 165
166 void ReportLeakDetectionResult(const LeakDetectionResult& result); 166 void ReportLeakDetectionResult(const LeakDetectionResult& result);
167 167
168 private: 168 private:
169 // Message handlers. 169 // Message handlers.
170 void OnSetTestConfiguration(const ShellTestConfiguration& params); 170 void OnSetTestConfiguration(const ShellTestConfiguration& params);
171 void OnSessionHistory( 171 void OnSessionHistory(
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 bool focus_on_next_commit_; 206 bool focus_on_next_commit_;
207 207
208 scoped_ptr<LeakDetector> leak_detector_; 208 scoped_ptr<LeakDetector> leak_detector_;
209 209
210 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 210 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
211 }; 211 };
212 212
213 } // namespace content 213 } // namespace content
214 214
215 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 215 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698