| 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 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1053 // Example: | 1053 // Example: |
| 1054 // input: { "windex": 1, | 1054 // input: { "windex": 1, |
| 1055 // "tab_index": 1, | 1055 // "tab_index": 1, |
| 1056 // "x": 100, | 1056 // "x": 100, |
| 1057 // "y": 100 | 1057 // "y": 100 |
| 1058 // } | 1058 // } |
| 1059 // output: none | 1059 // output: none |
| 1060 void WebkitMouseDoubleClick(DictionaryValue* args, | 1060 void WebkitMouseDoubleClick(DictionaryValue* args, |
| 1061 IPC::Message* message); | 1061 IPC::Message* message); |
| 1062 | 1062 |
| 1063 // Drag and drop file paths at a given coordinate. |
| 1064 // Example: |
| 1065 // input: { "windex": 1, |
| 1066 // "tab_index": 1, |
| 1067 // "x": 100, |
| 1068 // "y": 100, |
| 1069 // "paths": [ |
| 1070 // "/tmp/file.txt" |
| 1071 // ], |
| 1072 // } |
| 1073 // output: none |
| 1074 void DragAndDropFilePaths(DictionaryValue* args, |
| 1075 IPC::Message* message); |
| 1076 |
| 1063 // Sends the WebKit key event with the specified properties. | 1077 // Sends the WebKit key event with the specified properties. |
| 1064 // Example: | 1078 // Example: |
| 1065 // input: { "windex": 1, | 1079 // input: { "windex": 1, |
| 1066 // "tab_index": 1, | 1080 // "tab_index": 1, |
| 1067 // "type": automation::kRawKeyDownType, | 1081 // "type": automation::kRawKeyDownType, |
| 1068 // "nativeKeyCode": ui::VKEY_X, | 1082 // "nativeKeyCode": ui::VKEY_X, |
| 1069 // "windowsKeyCode": ui::VKEY_X, | 1083 // "windowsKeyCode": ui::VKEY_X, |
| 1070 // "unmodifiedText": "x", | 1084 // "unmodifiedText": "x", |
| 1071 // "text": "X", | 1085 // "text": "X", |
| 1072 // "modifiers": automation::kShiftKeyMask, | 1086 // "modifiers": automation::kShiftKeyMask, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 // Used to enumerate browser profiles. | 1266 // Used to enumerate browser profiles. |
| 1253 scoped_refptr<ImporterList> importer_list_; | 1267 scoped_refptr<ImporterList> importer_list_; |
| 1254 | 1268 |
| 1255 // The stored data for the ImportSettings operation. | 1269 // The stored data for the ImportSettings operation. |
| 1256 ImportSettingsData import_settings_data_; | 1270 ImportSettingsData import_settings_data_; |
| 1257 | 1271 |
| 1258 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1272 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1259 }; | 1273 }; |
| 1260 | 1274 |
| 1261 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1275 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |