Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 237 DictionaryValue* args, | 237 DictionaryValue* args, |
| 238 IPC::Message* reply_message); | 238 IPC::Message* reply_message); |
| 239 | 239 |
| 240 // Get info about the chromium/chrome in use. | 240 // Get info about the chromium/chrome in use. |
| 241 // This includes things like version, executable name, executable path. | 241 // This includes things like version, executable name, executable path. |
| 242 // Uses the JSON interface for input/output. | 242 // Uses the JSON interface for input/output. |
| 243 void GetBrowserInfo(Browser* browser, | 243 void GetBrowserInfo(Browser* browser, |
| 244 DictionaryValue* args, | 244 DictionaryValue* args, |
| 245 IPC::Message* reply_message); | 245 IPC::Message* reply_message); |
| 246 | 246 |
| 247 // Get info about the state of navigation in a given tab. | |
| 248 // This includes ssl info. | |
| 249 // Uses the JSON interface for input/output. | |
| 250 void GetNavigationInfo(Browser* browser, | |
| 251 DictionaryValue* args, | |
|
John Grabowski
2010/08/31 05:51:16
indenting? Need --> 1 more for 2nd 2 lines
| |
| 252 IPC::Message* reply_message); | |
| 253 | |
| 247 // Get info about downloads. This includes only ones that have been | 254 // Get info about downloads. This includes only ones that have been |
| 248 // registered by the history system. | 255 // registered by the history system. |
| 249 // Uses the JSON interface for input/output. | 256 // Uses the JSON interface for input/output. |
| 250 void GetDownloadsInfo(Browser* browser, | 257 void GetDownloadsInfo(Browser* browser, |
| 251 DictionaryValue* args, | 258 DictionaryValue* args, |
| 252 IPC::Message* reply_message); | 259 IPC::Message* reply_message); |
| 253 | 260 |
| 254 // Wait for all downloads to complete. | 261 // Wait for all downloads to complete. |
| 255 // Uses the JSON interface for input/output. | 262 // Uses the JSON interface for input/output. |
| 256 void WaitForDownloadsToComplete(Browser* browser, | 263 void WaitForDownloadsToComplete(Browser* browser, |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 632 extension_test_result_observer_; | 639 extension_test_result_observer_; |
| 633 scoped_ptr<AutomationExtensionTracker> extension_tracker_; | 640 scoped_ptr<AutomationExtensionTracker> extension_tracker_; |
| 634 PortContainerMap port_containers_; | 641 PortContainerMap port_containers_; |
| 635 scoped_refptr<AutomationResourceMessageFilter> | 642 scoped_refptr<AutomationResourceMessageFilter> |
| 636 automation_resource_message_filter_; | 643 automation_resource_message_filter_; |
| 637 | 644 |
| 638 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); | 645 DISALLOW_COPY_AND_ASSIGN(AutomationProvider); |
| 639 }; | 646 }; |
| 640 | 647 |
| 641 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 648 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |