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

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

Issue 7055004: File upload API in chromedriver (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed error handlings according to latest changes and refactored. Created 9 years, 7 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 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 // Example: 1058 // Example:
1059 // input: { "windex": 1, 1059 // input: { "windex": 1,
1060 // "tab_index": 1, 1060 // "tab_index": 1,
1061 // "x": 100, 1061 // "x": 100,
1062 // "y": 100 1062 // "y": 100
1063 // } 1063 // }
1064 // output: none 1064 // output: none
1065 void WebkitMouseDoubleClick(DictionaryValue* args, 1065 void WebkitMouseDoubleClick(DictionaryValue* args,
1066 IPC::Message* message); 1066 IPC::Message* message);
1067 1067
1068 // Set a given file path to the file upload control at a given coordinate.
1069 // Example:
1070 // input: { "windex": 1,
1071 // "tab_index": 1,
1072 // "x": 100,
1073 // "y": 100,
1074 // "paths": [
1075 // "/tmp/file.txt"
1076 // ],
1077 // }
1078 // output: none
1079 void SetFilePathsToFileUploadControl(DictionaryValue* args,
kkania 2011/05/23 18:43:49 I think this name should be more generic. How abou
nodchip 2011/05/26 01:14:53 Done.
1080 IPC::Message* message);
1081
1068 // Sends the WebKit key event with the specified properties. 1082 // Sends the WebKit key event with the specified properties.
1069 // Example: 1083 // Example:
1070 // input: { "windex": 1, 1084 // input: { "windex": 1,
1071 // "tab_index": 1, 1085 // "tab_index": 1,
1072 // "type": automation::kRawKeyDownType, 1086 // "type": automation::kRawKeyDownType,
1073 // "nativeKeyCode": ui::VKEY_X, 1087 // "nativeKeyCode": ui::VKEY_X,
1074 // "windowsKeyCode": ui::VKEY_X, 1088 // "windowsKeyCode": ui::VKEY_X,
1075 // "unmodifiedText": "x", 1089 // "unmodifiedText": "x",
1076 // "text": "X", 1090 // "text": "X",
1077 // "modifiers": automation::kShiftKeyMask, 1091 // "modifiers": automation::kShiftKeyMask,
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 // Used to enumerate browser profiles. 1257 // Used to enumerate browser profiles.
1244 scoped_refptr<ImporterList> importer_list_; 1258 scoped_refptr<ImporterList> importer_list_;
1245 1259
1246 // The stored data for the ImportSettings operation. 1260 // The stored data for the ImportSettings operation.
1247 ImportSettingsData import_settings_data_; 1261 ImportSettingsData import_settings_data_;
1248 1262
1249 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1263 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1250 }; 1264 };
1251 1265
1252 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1266 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698