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

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, 6 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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 // Example: 1045 // Example:
1046 // input: { "windex": 1, 1046 // input: { "windex": 1,
1047 // "tab_index": 1, 1047 // "tab_index": 1,
1048 // "x": 100, 1048 // "x": 100,
1049 // "y": 100 1049 // "y": 100
1050 // } 1050 // }
1051 // output: none 1051 // output: none
1052 void WebkitMouseDoubleClick(DictionaryValue* args, 1052 void WebkitMouseDoubleClick(DictionaryValue* args,
1053 IPC::Message* message); 1053 IPC::Message* message);
1054 1054
1055 // Drag and drop file paths at a given coordinate.
1056 // Example:
1057 // input: { "windex": 1,
1058 // "tab_index": 1,
1059 // "x": 100,
1060 // "y": 100,
1061 // "paths": [
1062 // "/tmp/file.txt"
1063 // ],
1064 // }
1065 // output: none
1066 void DragAndDropFilePaths(DictionaryValue* args,
1067 IPC::Message* message);
1068
1055 // Sends the WebKit key event with the specified properties. 1069 // Sends the WebKit key event with the specified properties.
1056 // Example: 1070 // Example:
1057 // input: { "windex": 1, 1071 // input: { "windex": 1,
1058 // "tab_index": 1, 1072 // "tab_index": 1,
1059 // "type": automation::kRawKeyDownType, 1073 // "type": automation::kRawKeyDownType,
1060 // "nativeKeyCode": ui::VKEY_X, 1074 // "nativeKeyCode": ui::VKEY_X,
1061 // "windowsKeyCode": ui::VKEY_X, 1075 // "windowsKeyCode": ui::VKEY_X,
1062 // "unmodifiedText": "x", 1076 // "unmodifiedText": "x",
1063 // "text": "X", 1077 // "text": "X",
1064 // "modifiers": automation::kShiftKeyMask, 1078 // "modifiers": automation::kShiftKeyMask,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 // Used to enumerate browser profiles. 1246 // Used to enumerate browser profiles.
1233 scoped_refptr<ImporterList> importer_list_; 1247 scoped_refptr<ImporterList> importer_list_;
1234 1248
1235 // The stored data for the ImportSettings operation. 1249 // The stored data for the ImportSettings operation.
1236 ImportSettingsData import_settings_data_; 1250 ImportSettingsData import_settings_data_;
1237 1251
1238 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1252 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1239 }; 1253 };
1240 1254
1241 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1255 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698