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

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

Issue 1886013002: Track focused view in TestRunner instead of in BlinkTestRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void CaptureDumpContinued(); 192 void CaptureDumpContinued();
193 void OnPixelsDumpCompleted(const SkBitmap& snapshot); 193 void OnPixelsDumpCompleted(const SkBitmap& snapshot);
194 void CaptureDumpComplete(); 194 void CaptureDumpComplete();
195 195
196 mojom::LayoutTestBluetoothFakeAdapterSetter& 196 mojom::LayoutTestBluetoothFakeAdapterSetter&
197 GetBluetoothFakeAdapterSetter(); 197 GetBluetoothFakeAdapterSetter();
198 mojom::LayoutTestBluetoothFakeAdapterSetterPtr bluetooth_fake_adapter_setter_; 198 mojom::LayoutTestBluetoothFakeAdapterSetterPtr bluetooth_fake_adapter_setter_;
199 199
200 test_runner::WebTestProxyBase* proxy_; 200 test_runner::WebTestProxyBase* proxy_;
201 201
202 RenderView* focused_view_;
203
204 test_runner::TestPreferences prefs_; 202 test_runner::TestPreferences prefs_;
205 203
206 ShellTestConfiguration test_config_; 204 ShellTestConfiguration test_config_;
207 205
208 std::vector<int> routing_ids_; 206 std::vector<int> routing_ids_;
209 std::vector<std::vector<PageState> > session_histories_; 207 std::vector<std::vector<PageState> > session_histories_;
210 std::vector<unsigned> current_entry_indexes_; 208 std::vector<unsigned> current_entry_indexes_;
211 209
212 std::deque<base::Callback<void(const std::vector<std::string>&)>> 210 std::deque<base::Callback<void(const std::vector<std::string>&)>>
213 get_bluetooth_events_callbacks_; 211 get_bluetooth_events_callbacks_;
214 212
215 bool is_main_window_; 213 bool is_main_window_;
216 214
217 bool focus_on_next_commit_; 215 bool focus_on_next_commit_;
218 216
219 std::unique_ptr<LeakDetector> leak_detector_; 217 std::unique_ptr<LeakDetector> leak_detector_;
220 218
221 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 219 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
222 }; 220 };
223 221
224 } // namespace content 222 } // namespace content
225 223
226 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 224 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_view_test_client.cc ('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