| 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 "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| (...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 bool* success); | 793 bool* success); |
| 794 | 794 |
| 795 // Load all plug-ins on the page. | 795 // Load all plug-ins on the page. |
| 796 void LoadBlockedPlugins(int tab_handle, bool* success); | 796 void LoadBlockedPlugins(int tab_handle, bool* success); |
| 797 | 797 |
| 798 // Resets to the default theme. | 798 // Resets to the default theme. |
| 799 void ResetToDefaultTheme(); | 799 void ResetToDefaultTheme(); |
| 800 | 800 |
| 801 void WaitForProcessLauncherThreadToGoIdle(IPC::Message* reply_message); | 801 void WaitForProcessLauncherThreadToGoIdle(IPC::Message* reply_message); |
| 802 | 802 |
| 803 // Gets the browser that contains the given tab. |
| 804 void GetParentBrowserOfTab( |
| 805 int tab_handle, int* browser_handle, bool* success); |
| 806 |
| 803 // Callback for history redirect queries. | 807 // Callback for history redirect queries. |
| 804 virtual void OnRedirectQueryComplete( | 808 virtual void OnRedirectQueryComplete( |
| 805 HistoryService::Handle request_handle, | 809 HistoryService::Handle request_handle, |
| 806 GURL from_url, | 810 GURL from_url, |
| 807 bool success, | 811 bool success, |
| 808 history::RedirectList* redirects); | 812 history::RedirectList* redirects); |
| 809 | 813 |
| 810 void OnRemoveProvider(); // Called via PostTask | 814 void OnRemoveProvider(); // Called via PostTask |
| 811 | 815 |
| 812 #if defined(TOOLKIT_VIEWS) | 816 #if defined(TOOLKIT_VIEWS) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 832 // Used to enumerate browser profiles. | 836 // Used to enumerate browser profiles. |
| 833 scoped_refptr<ImporterList> importer_list_; | 837 scoped_refptr<ImporterList> importer_list_; |
| 834 | 838 |
| 835 // The stored data for the ImportSettings operation. | 839 // The stored data for the ImportSettings operation. |
| 836 ImportSettingsData import_settings_data_; | 840 ImportSettingsData import_settings_data_; |
| 837 | 841 |
| 838 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 842 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 839 }; | 843 }; |
| 840 | 844 |
| 841 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 845 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |