Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: chrome/browser/automation/testing_automation_provider.h

Issue 6507015: Implement the target locator commands for ChromeDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Jason's concerns Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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(int tab_handle, int* browser_handle);
805
803 // Callback for history redirect queries. 806 // Callback for history redirect queries.
804 virtual void OnRedirectQueryComplete( 807 virtual void OnRedirectQueryComplete(
805 HistoryService::Handle request_handle, 808 HistoryService::Handle request_handle,
806 GURL from_url, 809 GURL from_url,
807 bool success, 810 bool success,
808 history::RedirectList* redirects); 811 history::RedirectList* redirects);
809 812
810 void OnRemoveProvider(); // Called via PostTask 813 void OnRemoveProvider(); // Called via PostTask
811 814
812 #if defined(TOOLKIT_VIEWS) 815 #if defined(TOOLKIT_VIEWS)
(...skipping 19 matching lines...) Expand all
832 // Used to enumerate browser profiles. 835 // Used to enumerate browser profiles.
833 scoped_refptr<ImporterList> importer_list_; 836 scoped_refptr<ImporterList> importer_list_;
834 837
835 // The stored data for the ImportSettings operation. 838 // The stored data for the ImportSettings operation.
836 ImportSettingsData import_settings_data_; 839 ImportSettingsData import_settings_data_;
837 840
838 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 841 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
839 }; 842 };
840 843
841 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 844 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698