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

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

Issue 7634031: Let pyauto create an attached webdriver instance to manipulate web pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forgot to re-add the previously added files Created 9 years, 4 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 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 // input: none 1143 // input: none
1144 // output: { "version": 1 } 1144 // output: { "version": 1 }
1145 void GetChromeDriverAutomationVersion(base::DictionaryValue* args, 1145 void GetChromeDriverAutomationVersion(base::DictionaryValue* args,
1146 IPC::Message* message); 1146 IPC::Message* message);
1147 1147
1148 // Auto-updates installed extensions. 1148 // Auto-updates installed extensions.
1149 // Uses the JSON interface for input/output. 1149 // Uses the JSON interface for input/output.
1150 void UpdateExtensionsNow(base::DictionaryValue* args, 1150 void UpdateExtensionsNow(base::DictionaryValue* args,
1151 IPC::Message* reply_message); 1151 IPC::Message* reply_message);
1152 1152
1153 // Creates a new |TestingAutomationProvider| that opens a server channel
1154 // for the given |channel_id|.
1155 // The server channel will be available for connection when this returns.
1156 // Example:
1157 // input: { "channel_id": "testChannel123" }
1158 void CreateNewAutomationProvider(base::DictionaryValue* args,
1159 IPC::Message* reply_message);
1160
1153 #if defined(OS_CHROMEOS) 1161 #if defined(OS_CHROMEOS)
1154 // Login. 1162 // Login.
1155 void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message); 1163 void GetLoginInfo(base::DictionaryValue* args, IPC::Message* reply_message);
1156 1164
1157 void ShowCreateAccountUI(base::DictionaryValue* args, 1165 void ShowCreateAccountUI(base::DictionaryValue* args,
1158 IPC::Message* reply_message); 1166 IPC::Message* reply_message);
1159 1167
1160 void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message); 1168 void LoginAsGuest(base::DictionaryValue* args, IPC::Message* reply_message);
1161 1169
1162 void Login(base::DictionaryValue* args, IPC::Message* reply_message); 1170 void Login(base::DictionaryValue* args, IPC::Message* reply_message);
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 // Used to enumerate browser profiles. 1320 // Used to enumerate browser profiles.
1313 scoped_refptr<ImporterList> importer_list_; 1321 scoped_refptr<ImporterList> importer_list_;
1314 1322
1315 // The stored data for the ImportSettings operation. 1323 // The stored data for the ImportSettings operation.
1316 ImportSettingsData import_settings_data_; 1324 ImportSettingsData import_settings_data_;
1317 1325
1318 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1326 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1319 }; 1327 };
1320 1328
1321 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1329 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698