| 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 <memory> | 9 #include <memory> |
| 10 #include <ostream> | 10 #include <ostream> |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // monitored for crashes. | 141 // monitored for crashes. |
| 142 void HandleNewRenderFrameHost(RenderFrameHost* frame); | 142 void HandleNewRenderFrameHost(RenderFrameHost* frame); |
| 143 | 143 |
| 144 void SetTempPath(const base::FilePath& temp_path); | 144 void SetTempPath(const base::FilePath& temp_path); |
| 145 void RendererUnresponsive(); | 145 void RendererUnresponsive(); |
| 146 void OverrideWebkitPrefs(WebPreferences* prefs); | 146 void OverrideWebkitPrefs(WebPreferences* prefs); |
| 147 void OpenURL(const GURL& url); | 147 void OpenURL(const GURL& url); |
| 148 bool IsMainWindow(WebContents* web_contents) const; | 148 bool IsMainWindow(WebContents* web_contents) const; |
| 149 std::unique_ptr<BluetoothChooser> RunBluetoothChooser( | 149 std::unique_ptr<BluetoothChooser> RunBluetoothChooser( |
| 150 RenderFrameHost* frame, | 150 RenderFrameHost* frame, |
| 151 const BluetoothChooser::EventHandler& event_handler); | 151 const BluetoothChooser::EventHandler& event_handler, |
| 152 bool accept_all_devices); |
| 152 | 153 |
| 153 BlinkTestResultPrinter* printer() { return printer_.get(); } | 154 BlinkTestResultPrinter* printer() { return printer_.get(); } |
| 154 void set_printer(BlinkTestResultPrinter* printer) { printer_.reset(printer); } | 155 void set_printer(BlinkTestResultPrinter* printer) { printer_.reset(printer); } |
| 155 | 156 |
| 156 void DevToolsProcessCrashed(); | 157 void DevToolsProcessCrashed(); |
| 157 | 158 |
| 158 // WebContentsObserver implementation. | 159 // WebContentsObserver implementation. |
| 159 bool OnMessageReceived(const IPC::Message& message) override; | 160 bool OnMessageReceived(const IPC::Message& message) override; |
| 160 bool OnMessageReceived(const IPC::Message& message, | 161 bool OnMessageReceived(const IPC::Message& message, |
| 161 RenderFrameHost* render_frame_host) override; | 162 RenderFrameHost* render_frame_host) override; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 // waiting on the UI thread while layout tests are being ran. | 284 // waiting on the UI thread while layout tests are being ran. |
| 284 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; | 285 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; |
| 285 #endif | 286 #endif |
| 286 | 287 |
| 287 DISALLOW_COPY_AND_ASSIGN(BlinkTestController); | 288 DISALLOW_COPY_AND_ASSIGN(BlinkTestController); |
| 288 }; | 289 }; |
| 289 | 290 |
| 290 } // namespace content | 291 } // namespace content |
| 291 | 292 |
| 292 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ | 293 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_BLINK_TEST_CONTROLLER_H_ |
| OLD | NEW |