| 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 #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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 IPC::Message* reply_message); | 651 IPC::Message* reply_message); |
| 652 | 652 |
| 653 // Set extension states: | 653 // Set extension states: |
| 654 // Enable/disable extension. | 654 // Enable/disable extension. |
| 655 // Allow/disallow extension in incognito mode. | 655 // Allow/disallow extension in incognito mode. |
| 656 // Uses the JSON interface for input/output. | 656 // Uses the JSON interface for input/output. |
| 657 void SetExtensionStateById(Browser* browser, | 657 void SetExtensionStateById(Browser* browser, |
| 658 base::DictionaryValue* args, | 658 base::DictionaryValue* args, |
| 659 IPC::Message* reply_message); | 659 IPC::Message* reply_message); |
| 660 | 660 |
| 661 // Trigger page action asynchronously in the active tab. |
| 662 // Uses the JSON interface for input/output. |
| 663 void TriggerPageActionById(base::DictionaryValue* args, |
| 664 IPC::Message* reply_message); |
| 665 |
| 666 // Trigger browser action asynchronously in the active tab. |
| 667 // Uses the JSON interface for input/output. |
| 668 void TriggerBrowserActionById(base::DictionaryValue* args, |
| 669 IPC::Message* reply_message); |
| 670 |
| 661 // Responds to the Find request and returns the match count. | 671 // Responds to the Find request and returns the match count. |
| 662 void FindInPage(Browser* browser, | 672 void FindInPage(Browser* browser, |
| 663 base::DictionaryValue* args, | 673 base::DictionaryValue* args, |
| 664 IPC::Message* reply_message); | 674 IPC::Message* reply_message); |
| 665 | 675 |
| 666 // Returns information about translation for a given tab. Includes | 676 // Returns information about translation for a given tab. Includes |
| 667 // information about the translate bar if it is showing. | 677 // information about the translate bar if it is showing. |
| 668 void GetTranslateInfo(Browser* browser, | 678 void GetTranslateInfo(Browser* browser, |
| 669 base::DictionaryValue* args, | 679 base::DictionaryValue* args, |
| 670 IPC::Message* reply_message); | 680 IPC::Message* reply_message); |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1410 // Used to enumerate browser profiles. | 1420 // Used to enumerate browser profiles. |
| 1411 scoped_refptr<ImporterList> importer_list_; | 1421 scoped_refptr<ImporterList> importer_list_; |
| 1412 | 1422 |
| 1413 // The stored data for the ImportSettings operation. | 1423 // The stored data for the ImportSettings operation. |
| 1414 ImportSettingsData import_settings_data_; | 1424 ImportSettingsData import_settings_data_; |
| 1415 | 1425 |
| 1416 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1426 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1417 }; | 1427 }; |
| 1418 | 1428 |
| 1419 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1429 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |