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

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

Issue 7104029: Automation: fix chrome/browser dependency on chrome/test headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 <string> 9 #include <string>
10 10
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool* is_application, 135 bool* is_application,
136 bool* success); 136 bool* success);
137 void GetTab(int win_handle, int tab_index, int* tab_handle); 137 void GetTab(int win_handle, int tab_index, int* tab_handle);
138 void GetTabProcessID(int handle, int* process_id); 138 void GetTabProcessID(int handle, int* process_id);
139 void GetTabTitle(int handle, int* title_string_size, std::wstring* title); 139 void GetTabTitle(int handle, int* title_string_size, std::wstring* title);
140 void GetTabIndex(int handle, int* tabstrip_index); 140 void GetTabIndex(int handle, int* tabstrip_index);
141 void GetTabURL(int handle, bool* success, GURL* url); 141 void GetTabURL(int handle, bool* success, GURL* url);
142 void GetShelfVisibility(int handle, bool* visible); 142 void GetShelfVisibility(int handle, bool* visible);
143 void IsFullscreen(int handle, bool* is_fullscreen); 143 void IsFullscreen(int handle, bool* is_fullscreen);
144 void GetFullscreenBubbleVisibility(int handle, bool* is_visible); 144 void GetFullscreenBubbleVisibility(int handle, bool* is_visible);
145 void GetAutocompleteEditForBrowser(int browser_handle, bool* success,
146 int* autocomplete_edit_handle);
147
148 // Retrieves the visible text from the autocomplete edit.
149 void GetAutocompleteEditText(int autocomplete_edit_handle,
150 bool* success, string16* text);
151
152 // Sets the visible text from the autocomplete edit.
153 void SetAutocompleteEditText(int autocomplete_edit_handle,
154 const string16& text,
155 bool* success);
156
157 // Retrieves if a query to an autocomplete provider is in progress.
158 void AutocompleteEditIsQueryInProgress(int autocomplete_edit_handle,
159 bool* success,
160 bool* query_in_progress);
161
162 // Retrieves the individual autocomplete matches displayed by the popup.
163 void AutocompleteEditGetMatches(int autocomplete_edit_handle,
164 bool* success,
165 std::vector<AutocompleteMatchData>* matches);
166
167 // Waits for the autocomplete edit to receive focus
168 void WaitForAutocompleteEditFocus(int autocomplete_edit_handle,
169 IPC::Message* reply_message);
170 145
171 void ExecuteJavascript(int handle, 146 void ExecuteJavascript(int handle,
172 const std::wstring& frame_xpath, 147 const std::wstring& frame_xpath,
173 const std::wstring& script, 148 const std::wstring& script,
174 IPC::Message* reply_message); 149 IPC::Message* reply_message);
175 150
176 void GetConstrainedWindowCount(int handle, int* count); 151 void GetConstrainedWindowCount(int handle, int* count);
177 152
178 #if defined(TOOLKIT_VIEWS) 153 #if defined(TOOLKIT_VIEWS)
179 void GetFocusedViewID(int handle, int* view_id); 154 void GetFocusedViewID(int handle, int* view_id);
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 // Used to enumerate browser profiles. 1230 // Used to enumerate browser profiles.
1256 scoped_refptr<ImporterList> importer_list_; 1231 scoped_refptr<ImporterList> importer_list_;
1257 1232
1258 // The stored data for the ImportSettings operation. 1233 // The stored data for the ImportSettings operation.
1259 ImportSettingsData import_settings_data_; 1234 ImportSettingsData import_settings_data_;
1260 1235
1261 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1236 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1262 }; 1237 };
1263 1238
1264 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1239 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698