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

Unified 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 error handlings according to latest changes and refactored. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/testing_automation_provider.h
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index f2dbb723298bbf12f30760fc19a78819713e0d1f..b8b77e694485d60cd1cad3134349d5b4069cc845 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -1065,6 +1065,20 @@ class TestingAutomationProvider : public AutomationProvider,
void WebkitMouseDoubleClick(DictionaryValue* args,
IPC::Message* message);
+ // Set a given file path to the file upload control at a given coordinate.
+ // Example:
+ // input: { "windex": 1,
+ // "tab_index": 1,
+ // "x": 100,
+ // "y": 100,
+ // "paths": [
+ // "/tmp/file.txt"
+ // ],
+ // }
+ // output: none
+ 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.
+ IPC::Message* message);
+
// Sends the WebKit key event with the specified properties.
// Example:
// input: { "windex": 1,

Powered by Google App Engine
This is Rietveld 408576698