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

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

Issue 1842353002: Revert of Moving pixel-capturing code from web_test_proxy_base.* into pixel_dump.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replicating-accept-languages
Patch Set: 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
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 bool AddMediaStreamAudioSourceAndTrack( 144 bool AddMediaStreamAudioSourceAndTrack(
145 blink::WebMediaStream* stream) override; 145 blink::WebMediaStream* stream) override;
146 cc::SharedBitmapManager* GetSharedBitmapManager() override; 146 cc::SharedBitmapManager* GetSharedBitmapManager() override;
147 void DispatchBeforeInstallPromptEvent( 147 void DispatchBeforeInstallPromptEvent(
148 int request_id, 148 int request_id,
149 const std::vector<std::string>& event_platforms, 149 const std::vector<std::string>& event_platforms,
150 const base::Callback<void(bool)>& callback) override; 150 const base::Callback<void(bool)>& callback) override;
151 blink::WebPlugin* CreatePluginPlaceholder( 151 blink::WebPlugin* CreatePluginPlaceholder(
152 blink::WebLocalFrame* frame, 152 blink::WebLocalFrame* frame,
153 const blink::WebPluginParams& params) override; 153 const blink::WebPluginParams& params) override;
154 float GetDeviceScaleFactorForTest() const override; 154 blink::WebPoint ConvertDIPToNative(
155 const blink::WebPoint& point_in_dip) const override;
155 156
156 // Resets a RenderView to a known state for layout tests. It is used both when 157 // Resets a RenderView to a known state for layout tests. It is used both when
157 // a RenderView is created and when reusing an existing RenderView for the 158 // a RenderView is created and when reusing an existing RenderView for the
158 // next test case. 159 // next test case.
159 // When reusing an existing RenderView, |for_new_test| should be true, which 160 // When reusing an existing RenderView, |for_new_test| should be true, which
160 // also resets additional state, like the main frame's name and opener. 161 // also resets additional state, like the main frame's name and opener.
161 void Reset(bool for_new_test); 162 void Reset(bool for_new_test);
162 163
163 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } 164 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; }
164 test_runner::WebTestProxyBase* proxy() const { return proxy_; } 165 test_runner::WebTestProxyBase* proxy() const { return proxy_; }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 bool focus_on_next_commit_; 210 bool focus_on_next_commit_;
210 211
211 scoped_ptr<LeakDetector> leak_detector_; 212 scoped_ptr<LeakDetector> leak_detector_;
212 213
213 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 214 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
214 }; 215 };
215 216
216 } // namespace content 217 } // namespace content
217 218
218 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 219 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_runner.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698