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 #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 "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "chrome/browser/automation/automation_provider.h" | 10 #include "chrome/browser/automation/automation_provider.h" |
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 void GetPageCurrentEncoding(int tab_handle, std::string* current_encoding); | 649 void GetPageCurrentEncoding(int tab_handle, std::string* current_encoding); |
650 | 650 |
651 void ShutdownSessionService(int handle, bool* result); | 651 void ShutdownSessionService(int handle, bool* result); |
652 | 652 |
653 void SetContentSetting(int handle, | 653 void SetContentSetting(int handle, |
654 const std::string& host, | 654 const std::string& host, |
655 ContentSettingsType content_type, | 655 ContentSettingsType content_type, |
656 ContentSetting setting, | 656 ContentSetting setting, |
657 bool* success); | 657 bool* success); |
658 | 658 |
| 659 // Load all plug-ins on the page. |
| 660 void LoadBlockedPlugins(int tab_handle, bool* success); |
| 661 |
659 // Resets to the default theme. | 662 // Resets to the default theme. |
660 void ResetToDefaultTheme(); | 663 void ResetToDefaultTheme(); |
661 | 664 |
662 // Callback for history redirect queries. | 665 // Callback for history redirect queries. |
663 virtual void OnRedirectQueryComplete( | 666 virtual void OnRedirectQueryComplete( |
664 HistoryService::Handle request_handle, | 667 HistoryService::Handle request_handle, |
665 GURL from_url, | 668 GURL from_url, |
666 bool success, | 669 bool success, |
667 history::RedirectList* redirects); | 670 history::RedirectList* redirects); |
668 | 671 |
(...skipping 17 matching lines...) Expand all Loading... |
686 // for the results) so there is only one handle. When non-0, indicates a | 689 // for the results) so there is only one handle. When non-0, indicates a |
687 // query in progress. | 690 // query in progress. |
688 HistoryService::Handle redirect_query_; | 691 HistoryService::Handle redirect_query_; |
689 | 692 |
690 NotificationRegistrar registrar_; | 693 NotificationRegistrar registrar_; |
691 | 694 |
692 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 695 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
693 }; | 696 }; |
694 | 697 |
695 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 698 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |