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_WEBKIT_TEST_CONTROLLER_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ |
6 #define CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ | 6 #define CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ |
7 | 7 |
8 #include <ostream> | 8 #include <ostream> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 void OnShowDevTools(const std::string& settings, | 170 void OnShowDevTools(const std::string& settings, |
171 const std::string& frontend_url); | 171 const std::string& frontend_url); |
172 void OnCloseDevTools(); | 172 void OnCloseDevTools(); |
173 void OnGoToOffset(int offset); | 173 void OnGoToOffset(int offset); |
174 void OnReload(); | 174 void OnReload(); |
175 void OnLoadURLForFrame(const GURL& url, const std::string& frame_name); | 175 void OnLoadURLForFrame(const GURL& url, const std::string& frame_name); |
176 void OnCaptureSessionHistory(); | 176 void OnCaptureSessionHistory(); |
177 void OnCloseRemainingWindows(); | 177 void OnCloseRemainingWindows(); |
178 void OnResetDone(); | 178 void OnResetDone(); |
179 void OnLeakDetectionDone(const content::LeakDetectionResult& result); | 179 void OnLeakDetectionDone(const content::LeakDetectionResult& result); |
| 180 void OnEchoPing(int id, const std::string& body); |
180 | 181 |
181 scoped_ptr<WebKitTestResultPrinter> printer_; | 182 scoped_ptr<WebKitTestResultPrinter> printer_; |
182 | 183 |
183 base::FilePath current_working_directory_; | 184 base::FilePath current_working_directory_; |
184 base::FilePath temp_path_; | 185 base::FilePath temp_path_; |
185 | 186 |
186 Shell* main_window_; | 187 Shell* main_window_; |
187 | 188 |
188 // The PID of the render process of the render view host of main_window_. | 189 // The PID of the render process of the render view host of main_window_. |
189 int current_pid_; | 190 int current_pid_; |
(...skipping 29 matching lines...) Expand all Loading... |
219 // waiting on the UI thread while layout tests are being ran. | 220 // waiting on the UI thread while layout tests are being ran. |
220 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; | 221 ScopedAllowWaitForAndroidLayoutTests reduced_restrictions_; |
221 #endif | 222 #endif |
222 | 223 |
223 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); | 224 DISALLOW_COPY_AND_ASSIGN(WebKitTestController); |
224 }; | 225 }; |
225 | 226 |
226 } // namespace content | 227 } // namespace content |
227 | 228 |
228 #endif // CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ | 229 #endif // CONTENT_SHELL_BROWSER_WEBKIT_TEST_CONTROLLER_H_ |
OLD | NEW |