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