Index: chrome/test/webdriver/automation.h |
diff --git a/chrome/test/webdriver/automation.h b/chrome/test/webdriver/automation.h |
index 794ee0cd4a7afdc3c9d97040f533a3d05db7d52b..6d3ffc028ece0ea20d3695bfb5a1e4cf1d452a8f 100644 |
--- a/chrome/test/webdriver/automation.h |
+++ b/chrome/test/webdriver/automation.h |
@@ -9,6 +9,7 @@ |
#include <string> |
#include <vector> |
+#include "base/file_path.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/task.h" |
@@ -75,6 +76,12 @@ class Automation { |
int modifiers, |
Error** error); |
+ // Drag and drop the file paths to the given location. |
+ void DragAndDropFilePaths(int tab_id, |
+ const gfx::Point& location, |
+ const std::vector<FilePath::StringType>& paths, |
+ Error** error); |
+ |
// Captures a snapshot of the tab to the specified path. The PNG will |
// contain the entire page, including what is not in the current view |
// on the screen. |