OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |