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_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <ostream> | 9 #include <ostream> |
10 #include <string> | 10 #include <string> |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 const base::FilePath& current_working_directory, | 133 const base::FilePath& current_working_directory, |
134 bool enable_pixel_dumping, | 134 bool enable_pixel_dumping, |
135 const std::string& expected_pixel_hash); | 135 const std::string& expected_pixel_hash); |
136 // True if the controller was reset successfully. | 136 // True if the controller was reset successfully. |
137 bool ResetAfterLayoutTest(); | 137 bool ResetAfterLayoutTest(); |
138 | 138 |
139 void SetTempPath(const base::FilePath& temp_path); | 139 void SetTempPath(const base::FilePath& temp_path); |
140 void RendererUnresponsive(); | 140 void RendererUnresponsive(); |
141 void OverrideWebkitPrefs(WebPreferences* prefs); | 141 void OverrideWebkitPrefs(WebPreferences* prefs); |
142 void OpenURL(const GURL& url); | 142 void OpenURL(const GURL& url); |
143 void TestFinishedInSecondaryWindow(); | 143 void TestFinishedInSecondaryRenderer(); |
144 bool IsMainWindow(WebContents* web_contents) const; | 144 bool IsMainWindow(WebContents* web_contents) const; |
145 scoped_ptr<BluetoothChooser> RunBluetoothChooser( | 145 scoped_ptr<BluetoothChooser> RunBluetoothChooser( |
146 RenderFrameHost* frame, | 146 RenderFrameHost* frame, |
147 const BluetoothChooser::EventHandler& event_handler); | 147 const BluetoothChooser::EventHandler& event_handler); |
148 | 148 |
149 BlinkTestResultPrinter* printer() { return printer_.get(); } | 149 BlinkTestResultPrinter* printer() { return printer_.get(); } |
150 void set_printer(BlinkTestResultPrinter* printer) { printer_.reset(printer); } | 150 void set_printer(BlinkTestResultPrinter* printer) { printer_.reset(printer); } |
151 | 151 |
152 void DevToolsProcessCrashed(); | 152 void DevToolsProcessCrashed(); |
153 | 153 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 // waiting on the UI thread while layout tests are being ran. | 269 // waiting on the UI thread while layout tests are being ran. |
270 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; | 270 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; |
271 #endif | 271 #endif |
272 | 272 |
273 DISALLOW_COPY_AND_ASSIGN(BlinkTestController); | 273 DISALLOW_COPY_AND_ASSIGN(BlinkTestController); |
274 }; | 274 }; |
275 | 275 |
276 } // namespace content | 276 } // namespace content |
277 | 277 |
278 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ | 278 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ |
OLD | NEW |