| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_MOUSE_COMMANDS_H_ | 5 #ifndef CHROME_TEST_WEBDRIVER_COMMANDS_MOUSE_COMMANDS_H_ |
| 6 #define CHROME_TEST_WEBDRIVER_COMMANDS_MOUSE_COMMANDS_H_ | 6 #define CHROME_TEST_WEBDRIVER_COMMANDS_MOUSE_COMMANDS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "chrome/test/webdriver/commands/webelement_commands.h" | 11 #include "chrome/test/webdriver/commands/webelement_commands.h" |
| 12 #include "chrome/test/webdriver/webdriver_element_id.h" | 12 #include "chrome/test/webdriver/webdriver_element_id.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class DictionaryValue; | 15 class DictionaryValue; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace gfx { | |
| 19 class Point; | |
| 20 } | |
| 21 | |
| 22 namespace webdriver { | 18 namespace webdriver { |
| 23 | 19 |
| 24 class Error; | |
| 25 class Response; | 20 class Response; |
| 26 | 21 |
| 27 // Click an element. See: | 22 // Click an element. See: |
| 28 // http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/We
bElement.html#click() | 23 // http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/We
bElement.html#click() |
| 29 class MoveAndClickCommand : public WebElementCommand { | 24 class MoveAndClickCommand : public WebElementCommand { |
| 30 public: | 25 public: |
| 31 MoveAndClickCommand(const std::vector<std::string>& path_segments, | 26 MoveAndClickCommand(const std::vector<std::string>& path_segments, |
| 32 const base::DictionaryValue* const parameters); | 27 const base::DictionaryValue* const parameters); |
| 33 virtual ~MoveAndClickCommand(); | 28 virtual ~MoveAndClickCommand(); |
| 34 | 29 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 173 |
| 179 virtual void ExecutePost(Response* const response); | 174 virtual void ExecutePost(Response* const response); |
| 180 | 175 |
| 181 private: | 176 private: |
| 182 DISALLOW_COPY_AND_ASSIGN(DoubleClickCommand); | 177 DISALLOW_COPY_AND_ASSIGN(DoubleClickCommand); |
| 183 }; | 178 }; |
| 184 | 179 |
| 185 } // namespace webdriver | 180 } // namespace webdriver |
| 186 | 181 |
| 187 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_MOUSE_COMMANDS_H_ | 182 #endif // CHROME_TEST_WEBDRIVER_COMMANDS_MOUSE_COMMANDS_H_ |
| OLD | NEW |