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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 void RemoveSavedPassword(Browser* browser, | 515 void RemoveSavedPassword(Browser* browser, |
516 base::DictionaryValue* args, | 516 base::DictionaryValue* args, |
517 IPC::Message* reply_message); | 517 IPC::Message* reply_message); |
518 | 518 |
519 // Return the saved username/password combinations. | 519 // Return the saved username/password combinations. |
520 // Uses the JSON interface for input/output. | 520 // Uses the JSON interface for input/output. |
521 void GetSavedPasswords(Browser* browser, | 521 void GetSavedPasswords(Browser* browser, |
522 base::DictionaryValue* args, | 522 base::DictionaryValue* args, |
523 IPC::Message* reply_message); | 523 IPC::Message* reply_message); |
524 | 524 |
525 // Get info about blocked popups in a tab. | |
526 // Uses the JSON interface for input/output. | |
527 void GetBlockedPopupsInfo(Browser* browser, | |
528 base::DictionaryValue* args, | |
529 IPC::Message* reply_message); | |
530 | |
531 // Launch a blocked popup. | |
532 // Uses the JSON interface for input/output. | |
533 void UnblockAndLaunchBlockedPopup(Browser* browser, | |
534 base::DictionaryValue* args, | |
535 IPC::Message* reply_message); | |
536 | |
537 // Get info about theme. | 525 // Get info about theme. |
538 // Uses the JSON interface for input/output. | 526 // Uses the JSON interface for input/output. |
539 void GetThemeInfo(Browser* browser, | 527 void GetThemeInfo(Browser* browser, |
540 base::DictionaryValue* args, | 528 base::DictionaryValue* args, |
541 IPC::Message* reply_message); | 529 IPC::Message* reply_message); |
542 | 530 |
543 // Install the given unpacked/packed extension. | 531 // Install the given unpacked/packed extension. |
544 // Uses the JSON interface for input/output. | 532 // Uses the JSON interface for input/output. |
545 void InstallExtension(base::DictionaryValue* args, | 533 void InstallExtension(base::DictionaryValue* args, |
546 IPC::Message* reply_message); | 534 IPC::Message* reply_message); |
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1658 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1646 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
1659 | 1647 |
1660 // List of commands which just finish synchronously and don't require | 1648 // List of commands which just finish synchronously and don't require |
1661 // setting up an observer. | 1649 // setting up an observer. |
1662 static const int kSynchronousCommands[]; | 1650 static const int kSynchronousCommands[]; |
1663 | 1651 |
1664 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1652 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1665 }; | 1653 }; |
1666 | 1654 |
1667 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1655 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |