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..be7a5bb9ec015a49047b43dde2f4ba82fa01a5a0 100644 |
--- a/chrome/test/automation/automation_json_requests.h |
+++ b/chrome/test/automation/automation_json_requests.h |
@@ -10,6 +10,7 @@ |
#include <vector> |
#include "base/compiler_specific.h" |
+#include "base/file_path.h" |
#include "chrome/common/automation_constants.h" |
#include "ui/base/keycodes/keyboard_codes.h" |
@@ -299,6 +300,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<FilePath::StringType>& paths, |
+ std::string* error_msg) WARN_UNUSED_RESULT; |
+ |
// Requests to get the active JavaScript modal dialog's message. Returns true |
// on success. |
bool SendGetAppModalDialogMessageJSONRequest( |