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

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

Issue 1555163002: Revert "Revert of Support device scale factor test with popups in LayoutTest (patchset #2 id:40001 … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hypothentical fix Created 4 years, 11 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 int request_id, 144 int request_id,
145 const std::vector<std::string>& event_platforms, 145 const std::vector<std::string>& event_platforms,
146 const base::Callback<void(bool)>& callback) override; 146 const base::Callback<void(bool)>& callback) override;
147 void ResolveBeforeInstallPromptPromise( 147 void ResolveBeforeInstallPromptPromise(
148 int request_id, 148 int request_id,
149 const std::string& platform) override; 149 const std::string& platform) override;
150 blink::WebPlugin* CreatePluginPlaceholder( 150 blink::WebPlugin* CreatePluginPlaceholder(
151 blink::WebLocalFrame* frame, 151 blink::WebLocalFrame* frame,
152 const blink::WebPluginParams& params) override; 152 const blink::WebPluginParams& params) override;
153 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override; 153 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override;
154 blink::WebPoint ConvertDIPToNative(
155 const blink::WebPoint& point_in_dip) const override;
154 156
155 void Reset(); 157 void Reset();
156 158
157 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } 159 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; }
158 test_runner::WebTestProxyBase* proxy() const { return proxy_; } 160 test_runner::WebTestProxyBase* proxy() const { return proxy_; }
159 161
160 void ReportLeakDetectionResult(const LeakDetectionResult& result); 162 void ReportLeakDetectionResult(const LeakDetectionResult& result);
161 163
162 private: 164 private:
163 // Message handlers. 165 // Message handlers.
(...skipping 29 matching lines...) Expand all
193 std::deque<base::Callback<void(const std::vector<std::string>&)>> 195 std::deque<base::Callback<void(const std::vector<std::string>&)>>
194 get_bluetooth_events_callbacks_; 196 get_bluetooth_events_callbacks_;
195 197
196 bool is_main_window_; 198 bool is_main_window_;
197 199
198 bool focus_on_next_commit_; 200 bool focus_on_next_commit_;
199 201
200 scoped_ptr<LeakDetector> leak_detector_; 202 scoped_ptr<LeakDetector> leak_detector_;
201 bool needs_leak_detector_; 203 bool needs_leak_detector_;
202 204
205 float device_scale_factor_;
206
203 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 207 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
204 }; 208 };
205 209
206 } // namespace content 210 } // namespace content
207 211
208 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 212 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698