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

Unified Diff: chrome/test/webdriver/commands/webelement_commands.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/webdriver/commands/webelement_commands.h
diff --git a/chrome/test/webdriver/commands/webelement_commands.h b/chrome/test/webdriver/commands/webelement_commands.h
index 5bf8b936ba94ff7c774fbcd2b787178ba1ef00ac..94f74478a4df65416a4a699e9e1b85424dd12fcb 100644
--- a/chrome/test/webdriver/commands/webelement_commands.h
+++ b/chrome/test/webdriver/commands/webelement_commands.h
@@ -13,8 +13,13 @@
class DictionaryValue;
+namespace gfx {
+ class Point;
+}
+
namespace webdriver {
+class Error;
class Response;
// Handles commands that interact with a web element in the WebDriver REST
@@ -249,6 +254,13 @@ class ElementValueCommand : public WebElementCommand {
virtual void ExecutePost(Response* const response);
private:
+ // Returns whether the element has a given attribute pair.
+ Error* HasAttributeWithLowerCaseValueASCII(const std::string& key,
+ const std::string& value,
+ bool* result) const;
+ Error* DragAndDropFilePaths() const;
+ Error* SendKeys() const;
+
DISALLOW_COPY_AND_ASSIGN(ElementValueCommand);
};

Powered by Google App Engine
This is Rietveld 408576698