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

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, 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/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 afa1937686908f9721032cc9f9fd30e939698a6a..c239da52739c62247092415a30103f24cb9a1e0e 100644
--- a/chrome/test/automation/automation_json_requests.h
+++ b/chrome/test/automation/automation_json_requests.h
@@ -291,6 +291,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