| 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 void OmniboxAcceptInput(Browser* browser, | 434 void OmniboxAcceptInput(Browser* browser, |
| 435 DictionaryValue* args, | 435 DictionaryValue* args, |
| 436 IPC::Message* reply_message); | 436 IPC::Message* reply_message); |
| 437 | 437 |
| 438 // Save the contents of a tab into a file. | 438 // Save the contents of a tab into a file. |
| 439 // Uses the JSON interface for input/output. | 439 // Uses the JSON interface for input/output. |
| 440 void SaveTabContents(Browser* browser, | 440 void SaveTabContents(Browser* browser, |
| 441 DictionaryValue* args, | 441 DictionaryValue* args, |
| 442 IPC::Message* reply_message); | 442 IPC::Message* reply_message); |
| 443 | 443 |
| 444 // Clear the specified browsing data. This call provides similar |
| 445 // functionality to RemoveBrowsingData but is synchronous. |
| 446 // Uses the JSON interface for input/output. |
| 447 void ClearBrowsingData(Browser* browser, |
| 448 DictionaryValue* args, |
| 449 IPC::Message* reply_message); |
| 450 |
| 444 // Get info about theme. | 451 // Get info about theme. |
| 445 // Uses the JSON interface for input/output. | 452 // Uses the JSON interface for input/output. |
| 446 void GetThemeInfo(Browser* browser, | 453 void GetThemeInfo(Browser* browser, |
| 447 DictionaryValue* args, | 454 DictionaryValue* args, |
| 448 IPC::Message* reply_message); | 455 IPC::Message* reply_message); |
| 449 | 456 |
| 450 // Get the profiles that are currently saved to the DB. | 457 // Get the profiles that are currently saved to the DB. |
| 451 // Uses the JSON interface for input/output. | 458 // Uses the JSON interface for input/output. |
| 452 void GetAutoFillProfile(Browser* browser, | 459 void GetAutoFillProfile(Browser* browser, |
| 453 DictionaryValue* args, | 460 DictionaryValue* args, |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 virtual void Observe(NotificationType type, | 914 virtual void Observe(NotificationType type, |
| 908 const NotificationSource& source, | 915 const NotificationSource& source, |
| 909 const NotificationDetails& details); | 916 const NotificationDetails& details); |
| 910 | 917 |
| 911 void OnRemoveProvider(); // Called via PostTask | 918 void OnRemoveProvider(); // Called via PostTask |
| 912 | 919 |
| 913 NotificationRegistrar registrar_; | 920 NotificationRegistrar registrar_; |
| 914 }; | 921 }; |
| 915 | 922 |
| 916 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 923 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |