OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This implements a browser-side endpoint for UI automation activity. | 5 // This implements a browser-side endpoint for UI automation activity. |
6 // The client-side endpoint is implemented by AutomationProxy. | 6 // The client-side endpoint is implemented by AutomationProxy. |
7 // The entire lifetime of this object should be contained within that of | 7 // The entire lifetime of this object should be contained within that of |
8 // the BrowserProcess, and in particular the NotificationService that's | 8 // the BrowserProcess, and in particular the NotificationService that's |
9 // hung off of it. | 9 // hung off of it. |
10 | 10 |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 | 243 |
244 // See browsing_data_remover.h for explanation of bitmap fields. | 244 // See browsing_data_remover.h for explanation of bitmap fields. |
245 void RemoveBrowsingData(int remove_mask); | 245 void RemoveBrowsingData(int remove_mask); |
246 | 246 |
247 // Notify the JavaScript engine in the render to change its parameters | 247 // Notify the JavaScript engine in the render to change its parameters |
248 // while performing stress testing. See | 248 // while performing stress testing. See |
249 // |ViewHostMsg_JavaScriptStressTestControl_Commands| in render_messages.h | 249 // |ViewHostMsg_JavaScriptStressTestControl_Commands| in render_messages.h |
250 // for information on the arguments. | 250 // for information on the arguments. |
251 void JavaScriptStressTestControl(int handle, int cmd, int param); | 251 void JavaScriptStressTestControl(int handle, int cmd, int param); |
252 | 252 |
253 void InstallExtension(const FilePath& crx_path, | |
254 IPC::Message* reply_message); | |
255 | |
256 void WaitForExtensionTestResult(IPC::Message* reply_message); | 253 void WaitForExtensionTestResult(IPC::Message* reply_message); |
257 | 254 |
258 void InstallExtensionAndGetHandle(const FilePath& crx_path, | 255 void InstallExtension(const std::string& extension_path, |
259 bool with_ui, | 256 bool with_ui, |
260 IPC::Message* reply_message); | 257 IPC::Message* reply_message); |
261 | 258 |
262 void UninstallExtension(int extension_handle, | 259 void UninstallExtension(int extension_handle, |
263 bool* success); | 260 bool* success); |
264 | 261 |
265 void ReloadExtension(int extension_handle, | 262 void ReloadExtension(int extension_handle, |
266 IPC::Message* reply_message); | 263 IPC::Message* reply_message); |
267 | 264 |
268 void EnableExtension(int extension_handle, | 265 void EnableExtension(int extension_handle, |
269 IPC::Message* reply_message); | 266 IPC::Message* reply_message); |
270 | 267 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 // True iff the Chrome OS network library finished initialization. | 384 // True iff the Chrome OS network library finished initialization. |
388 bool network_library_initialized_; | 385 bool network_library_initialized_; |
389 | 386 |
390 // ID of automation channel. | 387 // ID of automation channel. |
391 std::string channel_id_; | 388 std::string channel_id_; |
392 | 389 |
393 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); | 390 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); |
394 }; | 391 }; |
395 | 392 |
396 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 393 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
OLD | NEW |