| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 IPC::Message* reply_message); | 264 IPC::Message* reply_message); |
| 265 | 265 |
| 266 // Open a new browser window. | 266 // Open a new browser window. |
| 267 // Uses the JSON interface for input/output. | 267 // Uses the JSON interface for input/output. |
| 268 void OpenNewBrowserWindow(base::DictionaryValue* args, | 268 void OpenNewBrowserWindow(base::DictionaryValue* args, |
| 269 IPC::Message* reply_message); | 269 IPC::Message* reply_message); |
| 270 // Close a browser window. | 270 // Close a browser window. |
| 271 // Uses the JSON interface for input/output. | 271 // Uses the JSON interface for input/output. |
| 272 void CloseBrowserWindow(base::DictionaryValue* args, | 272 void CloseBrowserWindow(base::DictionaryValue* args, |
| 273 IPC::Message* reply_message); | 273 IPC::Message* reply_message); |
| 274 // Reset to the default theme. | |
| 275 // Uses the JSON interface for input/output. | |
| 276 void ResetToDefaultTheme(base::DictionaryValue* args, | |
| 277 IPC::Message* reply_message); | |
| 278 | 274 |
| 279 // Get info about multi-profile users. | 275 // Get info about multi-profile users. |
| 280 // Uses the JSON interface for input/output. | 276 // Uses the JSON interface for input/output. |
| 281 void GetMultiProfileInfo( | 277 void GetMultiProfileInfo( |
| 282 base::DictionaryValue* args, | 278 base::DictionaryValue* args, |
| 283 IPC::Message* reply_message); | 279 IPC::Message* reply_message); |
| 284 // Open a new browser window for an existing profile. | 280 // Open a new browser window for an existing profile. |
| 285 // Uses the JSON interface for input/output. | 281 // Uses the JSON interface for input/output. |
| 286 void OpenProfileWindow( | 282 void OpenProfileWindow( |
| 287 base::DictionaryValue* args, IPC::Message* reply_message); | 283 base::DictionaryValue* args, IPC::Message* reply_message); |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 void RemoveSavedPassword(Browser* browser, | 505 void RemoveSavedPassword(Browser* browser, |
| 510 base::DictionaryValue* args, | 506 base::DictionaryValue* args, |
| 511 IPC::Message* reply_message); | 507 IPC::Message* reply_message); |
| 512 | 508 |
| 513 // Return the saved username/password combinations. | 509 // Return the saved username/password combinations. |
| 514 // Uses the JSON interface for input/output. | 510 // Uses the JSON interface for input/output. |
| 515 void GetSavedPasswords(Browser* browser, | 511 void GetSavedPasswords(Browser* browser, |
| 516 base::DictionaryValue* args, | 512 base::DictionaryValue* args, |
| 517 IPC::Message* reply_message); | 513 IPC::Message* reply_message); |
| 518 | 514 |
| 519 // Get info about theme. | |
| 520 // Uses the JSON interface for input/output. | |
| 521 void GetThemeInfo(Browser* browser, | |
| 522 base::DictionaryValue* args, | |
| 523 IPC::Message* reply_message); | |
| 524 | |
| 525 // Install the given unpacked/packed extension. | 515 // Install the given unpacked/packed extension. |
| 526 // Uses the JSON interface for input/output. | 516 // Uses the JSON interface for input/output. |
| 527 void InstallExtension(base::DictionaryValue* args, | 517 void InstallExtension(base::DictionaryValue* args, |
| 528 IPC::Message* reply_message); | 518 IPC::Message* reply_message); |
| 529 | 519 |
| 530 // Get info about all intalled extensions. | 520 // Get info about all intalled extensions. |
| 531 // Uses the JSON interface for input/output. | 521 // Uses the JSON interface for input/output. |
| 532 void GetExtensionsInfo(base::DictionaryValue* args, | 522 void GetExtensionsInfo(base::DictionaryValue* args, |
| 533 IPC::Message* reply_message); | 523 IPC::Message* reply_message); |
| 534 | 524 |
| (...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1618 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
| 1629 | 1619 |
| 1630 // List of commands which just finish synchronously and don't require | 1620 // List of commands which just finish synchronously and don't require |
| 1631 // setting up an observer. | 1621 // setting up an observer. |
| 1632 static const int kSynchronousCommands[]; | 1622 static const int kSynchronousCommands[]; |
| 1633 | 1623 |
| 1634 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1624 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1635 }; | 1625 }; |
| 1636 | 1626 |
| 1637 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1627 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |