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 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 Loading... | |
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_ |
OLD | NEW |