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

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 according to the code review 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 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 // Example: 1070 // Example:
1071 // input: { "windex": 1, 1071 // input: { "windex": 1,
1072 // "tab_index": 1, 1072 // "tab_index": 1,
1073 // "x": 100, 1073 // "x": 100,
1074 // "y": 100 1074 // "y": 100
1075 // } 1075 // }
1076 // output: none 1076 // output: none
1077 void WebkitMouseDoubleClick(DictionaryValue* args, 1077 void WebkitMouseDoubleClick(DictionaryValue* args,
1078 IPC::Message* message); 1078 IPC::Message* message);
1079 1079
1080 // Drag and drop file paths at a given coordinate.
1081 // Example:
1082 // input: { "windex": 1,
1083 // "tab_index": 1,
1084 // "x": 100,
1085 // "y": 100,
1086 // "paths": [
1087 // "/tmp/file.txt"
1088 // ],
1089 // }
1090 // output: none
1091 void DragAndDropFilePaths(DictionaryValue* args,
1092 IPC::Message* message);
1093
1080 // Sends the WebKit key event with the specified properties. 1094 // Sends the WebKit key event with the specified properties.
1081 // Example: 1095 // Example:
1082 // input: { "windex": 1, 1096 // input: { "windex": 1,
1083 // "tab_index": 1, 1097 // "tab_index": 1,
1084 // "type": automation::kRawKeyDownType, 1098 // "type": automation::kRawKeyDownType,
1085 // "nativeKeyCode": ui::VKEY_X, 1099 // "nativeKeyCode": ui::VKEY_X,
1086 // "windowsKeyCode": ui::VKEY_X, 1100 // "windowsKeyCode": ui::VKEY_X,
1087 // "unmodifiedText": "x", 1101 // "unmodifiedText": "x",
1088 // "text": "X", 1102 // "text": "X",
1089 // "modifiers": automation::kShiftKeyMask, 1103 // "modifiers": automation::kShiftKeyMask,
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 // Used to enumerate browser profiles. 1269 // Used to enumerate browser profiles.
1256 scoped_refptr<ImporterList> importer_list_; 1270 scoped_refptr<ImporterList> importer_list_;
1257 1271
1258 // The stored data for the ImportSettings operation. 1272 // The stored data for the ImportSettings operation.
1259 ImportSettingsData import_settings_data_; 1273 ImportSettingsData import_settings_data_;
1260 1274
1261 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1275 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1262 }; 1276 };
1263 1277
1264 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1278 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698