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

Unified Diff: chrome/test/automation/automation_json_requests.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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/automation/automation_json_requests.h
diff --git a/chrome/test/automation/automation_json_requests.h b/chrome/test/automation/automation_json_requests.h
index e4a35c8e2644a7035a7bf508d15f803d5ff4c859..476dbc5c1134817aeae516b3139209531c68e742 100644
--- a/chrome/test/automation/automation_json_requests.h
+++ b/chrome/test/automation/automation_json_requests.h
@@ -299,6 +299,17 @@ bool SendNativeKeyEventJSONRequest(
int modifiers,
std::string* error_msg) WARN_UNUSED_RESULT;
+// Requests to drag and drop the file paths at the given coordinate in the
+// specified tab. Returns true on success.
+bool SendDragAndDropFilePathsJSONRequest(
+ AutomationMessageSender* sender,
+ int browser_index,
+ int tab_index,
+ int x,
+ int y,
+ const std::vector<std::string>& paths,
+ std::string* error_msg) WARN_UNUSED_RESULT;
+
// Requests to get the active JavaScript modal dialog's message. Returns true
// on success.
bool SendGetAppModalDialogMessageJSONRequest(

Powered by Google App Engine
This is Rietveld 408576698