OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_BLINK_TEST_CONTROLLER_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_BLINK_TEST_CONTROLLER_H_ |
6 #define CONTENT_SHELL_BROWSER_BLINK_TEST_CONTROLLER_H_ | 6 #define CONTENT_SHELL_BROWSER_BLINK_TEST_CONTROLLER_H_ |
7 | 7 |
8 #include <ostream> | 8 #include <ostream> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 void OnReload(); | 179 void OnReload(); |
180 void OnLoadURLForFrame(const GURL& url, const std::string& frame_name); | 180 void OnLoadURLForFrame(const GURL& url, const std::string& frame_name); |
181 void OnCaptureSessionHistory(); | 181 void OnCaptureSessionHistory(); |
182 void OnCloseRemainingWindows(); | 182 void OnCloseRemainingWindows(); |
183 void OnResetDone(); | 183 void OnResetDone(); |
184 void OnLeakDetectionDone(const content::LeakDetectionResult& result); | 184 void OnLeakDetectionDone(const content::LeakDetectionResult& result); |
185 void OnSetBluetoothManualChooser(bool enable); | 185 void OnSetBluetoothManualChooser(bool enable); |
186 void OnGetBluetoothManualChooserEvents(); | 186 void OnGetBluetoothManualChooserEvents(); |
187 void OnSendBluetoothManualChooserEvent(const std::string& event, | 187 void OnSendBluetoothManualChooserEvent(const std::string& event, |
188 const std::string& argument); | 188 const std::string& argument); |
| 189 void OnSetDeviceScaleFactor(float scale); |
189 | 190 |
190 scoped_ptr<BlinkTestResultPrinter> printer_; | 191 scoped_ptr<BlinkTestResultPrinter> printer_; |
191 | 192 |
192 base::FilePath current_working_directory_; | 193 base::FilePath current_working_directory_; |
193 base::FilePath temp_path_; | 194 base::FilePath temp_path_; |
194 | 195 |
195 Shell* main_window_; | 196 Shell* main_window_; |
196 | 197 |
197 // The PID of the render process of the render view host of main_window_. | 198 // The PID of the render process of the render view host of main_window_. |
198 int current_pid_; | 199 int current_pid_; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 // waiting on the UI thread while layout tests are being ran. | 233 // waiting on the UI thread while layout tests are being ran. |
233 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; | 234 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; |
234 #endif | 235 #endif |
235 | 236 |
236 DISALLOW_COPY_AND_ASSIGN(BlinkTestController); | 237 DISALLOW_COPY_AND_ASSIGN(BlinkTestController); |
237 }; | 238 }; |
238 | 239 |
239 } // namespace content | 240 } // namespace content |
240 | 241 |
241 #endif // CONTENT_SHELL_BROWSER_BLINK_TEST_CONTROLLER_H_ | 242 #endif // CONTENT_SHELL_BROWSER_BLINK_TEST_CONTROLLER_H_ |
OLD | NEW |