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

Unified Diff: chrome/test/webdriver/commands/mouse_commands.h

Issue 8558032: Add OVERRIDE to chrome/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/mouse_commands.h
diff --git a/chrome/test/webdriver/commands/mouse_commands.h b/chrome/test/webdriver/commands/mouse_commands.h
index 9967d686f0322423b2178a283c54764581bc18e1..7b985ca5a75e181b3b2823fe736bff30a92f2a12 100644
--- a/chrome/test/webdriver/commands/mouse_commands.h
+++ b/chrome/test/webdriver/commands/mouse_commands.h
@@ -27,8 +27,8 @@ class MoveAndClickCommand : public WebElementCommand {
const base::DictionaryValue* const parameters);
virtual ~MoveAndClickCommand();
- virtual bool DoesPost();
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(MoveAndClickCommand);
@@ -42,8 +42,8 @@ class HoverCommand : public WebElementCommand {
const base::DictionaryValue* const parameters);
virtual ~HoverCommand();
- virtual bool DoesPost();
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(HoverCommand);
@@ -58,9 +58,9 @@ class DragCommand : public WebElementCommand {
const base::DictionaryValue* const parameters);
virtual ~DragCommand();
- virtual bool Init(Response* const response);
- virtual bool DoesPost();
- virtual void ExecutePost(Response* const response);
+ virtual bool Init(Response* const response) OVERRIDE;
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
int drag_x_, drag_y_;
@@ -80,7 +80,7 @@ class AdvancedMouseCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~AdvancedMouseCommand();
- virtual bool DoesPost();
+ virtual bool DoesPost() OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(AdvancedMouseCommand);
@@ -97,8 +97,8 @@ class MoveToCommand : public AdvancedMouseCommand {
const base::DictionaryValue* const parameters);
virtual ~MoveToCommand();
- virtual bool Init(Response* const response);
- virtual void ExecutePost(Response* const response);
+ virtual bool Init(Response* const response) OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
bool has_element_;
@@ -121,8 +121,8 @@ class ClickCommand : public AdvancedMouseCommand {
const base::DictionaryValue* const parameters);
virtual ~ClickCommand();
- virtual bool Init(Response* const response);
- virtual void ExecutePost(Response* const response);
+ virtual bool Init(Response* const response) OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
int button_;
@@ -141,7 +141,7 @@ class ButtonDownCommand : public AdvancedMouseCommand {
const base::DictionaryValue* const parameters);
virtual ~ButtonDownCommand();
- virtual void ExecutePost(Response* const response);
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ButtonDownCommand);
@@ -157,7 +157,7 @@ class ButtonUpCommand : public AdvancedMouseCommand {
const base::DictionaryValue* const parameters);
virtual ~ButtonUpCommand();
- virtual void ExecutePost(Response* const response);
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ButtonUpCommand);
@@ -171,7 +171,7 @@ class DoubleClickCommand : public AdvancedMouseCommand {
const base::DictionaryValue* const parameters);
virtual ~DoubleClickCommand();
- virtual void ExecutePost(Response* const response);
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(DoubleClickCommand);
« no previous file with comments | « chrome/test/webdriver/commands/find_element_commands.h ('k') | chrome/test/webdriver/commands/navigate_commands.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698