summaryrefslogtreecommitdiffstats
path: root/chrome/test/webdriver/commands
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/webdriver/commands')
-rw-r--r--chrome/test/webdriver/commands/alert_commands.h16
-rw-r--r--chrome/test/webdriver/commands/appcache_status_command.h4
-rw-r--r--chrome/test/webdriver/commands/browser_connection_commands.h4
-rw-r--r--chrome/test/webdriver/commands/cookie_commands.h18
-rw-r--r--chrome/test/webdriver/commands/create_session.h4
-rw-r--r--chrome/test/webdriver/commands/execute_async_script_command.h4
-rw-r--r--chrome/test/webdriver/commands/execute_command.h4
-rw-r--r--chrome/test/webdriver/commands/find_element_commands.h4
-rw-r--r--chrome/test/webdriver/commands/mouse_commands.h30
-rw-r--r--chrome/test/webdriver/commands/navigate_commands.h12
-rw-r--r--chrome/test/webdriver/commands/screenshot_command.h4
-rw-r--r--chrome/test/webdriver/commands/session_with_id.h8
-rw-r--r--chrome/test/webdriver/commands/set_timeout_commands.h8
-rw-r--r--chrome/test/webdriver/commands/source_command.h4
-rw-r--r--chrome/test/webdriver/commands/target_locator_commands.h24
-rw-r--r--chrome/test/webdriver/commands/title_command.h4
-rw-r--r--chrome/test/webdriver/commands/url_command.h8
-rw-r--r--chrome/test/webdriver/commands/webdriver_command.h4
-rw-r--r--chrome/test/webdriver/commands/webelement_commands.h70
19 files changed, 117 insertions, 117 deletions
diff --git a/chrome/test/webdriver/commands/alert_commands.h b/chrome/test/webdriver/commands/alert_commands.h
index cc5c049..d0c856e2 100644
--- a/chrome/test/webdriver/commands/alert_commands.h
+++ b/chrome/test/webdriver/commands/alert_commands.h
@@ -25,10 +25,10 @@ class AlertTextCommand : public WebDriverCommand {
base::DictionaryValue* parameters);
virtual ~AlertTextCommand();
- virtual bool DoesGet();
- virtual bool DoesPost();
- virtual void ExecuteGet(Response* const response);
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(AlertTextCommand);
@@ -40,8 +40,8 @@ class AcceptAlertCommand : public WebDriverCommand {
base::DictionaryValue* parameters);
virtual ~AcceptAlertCommand();
- 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(AcceptAlertCommand);
@@ -53,8 +53,8 @@ class DismissAlertCommand : public WebDriverCommand {
base::DictionaryValue* parameters);
virtual ~DismissAlertCommand();
- 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(DismissAlertCommand);
diff --git a/chrome/test/webdriver/commands/appcache_status_command.h b/chrome/test/webdriver/commands/appcache_status_command.h
index fc91e3c..543f050 100644
--- a/chrome/test/webdriver/commands/appcache_status_command.h
+++ b/chrome/test/webdriver/commands/appcache_status_command.h
@@ -24,10 +24,10 @@ class AppCacheStatusCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~AppCacheStatusCommand();
- virtual bool DoesGet();
+ virtual bool DoesGet() OVERRIDE;
// A call with HTTP GET will return the status of the appcahe.
- virtual void ExecuteGet(Response* const response);
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(AppCacheStatusCommand);
diff --git a/chrome/test/webdriver/commands/browser_connection_commands.h b/chrome/test/webdriver/commands/browser_connection_commands.h
index adc2663..00ebfec 100644
--- a/chrome/test/webdriver/commands/browser_connection_commands.h
+++ b/chrome/test/webdriver/commands/browser_connection_commands.h
@@ -27,10 +27,10 @@ class BrowserConnectionCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~BrowserConnectionCommand();
- virtual bool DoesGet();
+ virtual bool DoesGet() OVERRIDE;
// A call with HTTP GET will return the browser connection state.
- virtual void ExecuteGet(Response* const response);
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(BrowserConnectionCommand);
diff --git a/chrome/test/webdriver/commands/cookie_commands.h b/chrome/test/webdriver/commands/cookie_commands.h
index 7c778ae..ac5aefe 100644
--- a/chrome/test/webdriver/commands/cookie_commands.h
+++ b/chrome/test/webdriver/commands/cookie_commands.h
@@ -30,13 +30,13 @@ class CookieCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~CookieCommand();
- virtual bool DoesDelete();
- virtual bool DoesGet();
- virtual bool DoesPost();
+ virtual bool DoesDelete() OVERRIDE;
+ virtual bool DoesGet() OVERRIDE;
+ virtual bool DoesPost() OVERRIDE;
- virtual void ExecuteDelete(Response* const response);
- virtual void ExecuteGet(Response* const response);
- virtual void ExecutePost(Response* const response);
+ virtual void ExecuteDelete(Response* const response) OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(CookieCommand);
@@ -51,11 +51,11 @@ class NamedCookieCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~NamedCookieCommand();
- virtual bool Init(Response* const response);
+ virtual bool Init(Response* const response) OVERRIDE;
- virtual bool DoesDelete();
+ virtual bool DoesDelete() OVERRIDE;
- virtual void ExecuteDelete(Response* const response);
+ virtual void ExecuteDelete(Response* const response) OVERRIDE;
private:
std::string cookie_name_;
diff --git a/chrome/test/webdriver/commands/create_session.h b/chrome/test/webdriver/commands/create_session.h
index 6595ae2..ea89475 100644
--- a/chrome/test/webdriver/commands/create_session.h
+++ b/chrome/test/webdriver/commands/create_session.h
@@ -26,8 +26,8 @@ class CreateSession : public Command {
const DictionaryValue* const parameters);
virtual ~CreateSession();
- 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(CreateSession);
diff --git a/chrome/test/webdriver/commands/execute_async_script_command.h b/chrome/test/webdriver/commands/execute_async_script_command.h
index 40c75b8..31507b0 100644
--- a/chrome/test/webdriver/commands/execute_async_script_command.h
+++ b/chrome/test/webdriver/commands/execute_async_script_command.h
@@ -29,8 +29,8 @@ class ExecuteAsyncScriptCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~ExecuteAsyncScriptCommand();
- 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(ExecuteAsyncScriptCommand);
diff --git a/chrome/test/webdriver/commands/execute_command.h b/chrome/test/webdriver/commands/execute_command.h
index c164b78..812de83 100644
--- a/chrome/test/webdriver/commands/execute_command.h
+++ b/chrome/test/webdriver/commands/execute_command.h
@@ -26,8 +26,8 @@ class ExecuteCommand : public WebDriverCommand {
const DictionaryValue* const parameters);
virtual ~ExecuteCommand();
- 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(ExecuteCommand);
diff --git a/chrome/test/webdriver/commands/find_element_commands.h b/chrome/test/webdriver/commands/find_element_commands.h
index 46dfbae..488d66d 100644
--- a/chrome/test/webdriver/commands/find_element_commands.h
+++ b/chrome/test/webdriver/commands/find_element_commands.h
@@ -23,8 +23,8 @@ class FindElementCommand : public WebDriverCommand {
const bool find_one_element);
virtual ~FindElementCommand();
- virtual bool DoesPost();
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
const bool find_one_element_;
diff --git a/chrome/test/webdriver/commands/mouse_commands.h b/chrome/test/webdriver/commands/mouse_commands.h
index 9967d68..7b985ca 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);
diff --git a/chrome/test/webdriver/commands/navigate_commands.h b/chrome/test/webdriver/commands/navigate_commands.h
index a5777b22..7a6a904 100644
--- a/chrome/test/webdriver/commands/navigate_commands.h
+++ b/chrome/test/webdriver/commands/navigate_commands.h
@@ -22,8 +22,8 @@ class ForwardCommand : public WebDriverCommand {
const DictionaryValue* const parameters);
virtual ~ForwardCommand();
- 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(ForwardCommand);
@@ -37,8 +37,8 @@ class BackCommand : public WebDriverCommand {
const DictionaryValue* const parameters);
virtual ~BackCommand();
- 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(BackCommand);
@@ -52,8 +52,8 @@ class RefreshCommand : public WebDriverCommand {
const DictionaryValue* const parameters);
virtual ~RefreshCommand();
- 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(RefreshCommand);
diff --git a/chrome/test/webdriver/commands/screenshot_command.h b/chrome/test/webdriver/commands/screenshot_command.h
index 5fe8bdf..dd276af 100644
--- a/chrome/test/webdriver/commands/screenshot_command.h
+++ b/chrome/test/webdriver/commands/screenshot_command.h
@@ -26,8 +26,8 @@ class ScreenshotCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~ScreenshotCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ScreenshotCommand);
diff --git a/chrome/test/webdriver/commands/session_with_id.h b/chrome/test/webdriver/commands/session_with_id.h
index e634c65..9848a4b 100644
--- a/chrome/test/webdriver/commands/session_with_id.h
+++ b/chrome/test/webdriver/commands/session_with_id.h
@@ -28,11 +28,11 @@ class SessionWithID : public WebDriverCommand {
const DictionaryValue* const parameters);
virtual ~SessionWithID();
- virtual bool DoesGet();
- virtual bool DoesDelete();
+ virtual bool DoesGet() OVERRIDE;
+ virtual bool DoesDelete() OVERRIDE;
- virtual void ExecuteGet(Response* const response);
- virtual void ExecuteDelete(Response* const response);
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
+ virtual void ExecuteDelete(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(SessionWithID);
diff --git a/chrome/test/webdriver/commands/set_timeout_commands.h b/chrome/test/webdriver/commands/set_timeout_commands.h
index 88f79cb..de7a7c1 100644
--- a/chrome/test/webdriver/commands/set_timeout_commands.h
+++ b/chrome/test/webdriver/commands/set_timeout_commands.h
@@ -24,8 +24,8 @@ class SetTimeoutCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~SetTimeoutCommand();
- virtual bool DoesPost();
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
virtual void SetTimeout(int timeout_ms) = 0;
private:
@@ -38,7 +38,7 @@ class SetAsyncScriptTimeoutCommand : public SetTimeoutCommand {
SetAsyncScriptTimeoutCommand(const std::vector<std::string>& path_segments,
const base::DictionaryValue* const parameters);
virtual ~SetAsyncScriptTimeoutCommand();
- virtual void SetTimeout(int timeout_ms);
+ virtual void SetTimeout(int timeout_ms) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(SetAsyncScriptTimeoutCommand);
@@ -50,7 +50,7 @@ class ImplicitWaitCommand : public SetTimeoutCommand {
ImplicitWaitCommand(const std::vector<std::string>& path_segments,
const base::DictionaryValue* const parameters);
virtual ~ImplicitWaitCommand();
- virtual void SetTimeout(int timeout_ms);
+ virtual void SetTimeout(int timeout_ms) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ImplicitWaitCommand);
diff --git a/chrome/test/webdriver/commands/source_command.h b/chrome/test/webdriver/commands/source_command.h
index 7444009..9cce535 100644
--- a/chrome/test/webdriver/commands/source_command.h
+++ b/chrome/test/webdriver/commands/source_command.h
@@ -26,8 +26,8 @@ class SourceCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~SourceCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(SourceCommand);
diff --git a/chrome/test/webdriver/commands/target_locator_commands.h b/chrome/test/webdriver/commands/target_locator_commands.h
index f56d8712..fe78a90 100644
--- a/chrome/test/webdriver/commands/target_locator_commands.h
+++ b/chrome/test/webdriver/commands/target_locator_commands.h
@@ -27,8 +27,8 @@ class WindowHandleCommand : public WebDriverCommand {
base::DictionaryValue* parameters);
virtual ~WindowHandleCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(WindowHandleCommand);
@@ -42,8 +42,8 @@ class WindowHandlesCommand : public WebDriverCommand {
base::DictionaryValue* parameters);
virtual ~WindowHandlesCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(WindowHandlesCommand);
@@ -58,10 +58,10 @@ class WindowCommand : public WebDriverCommand {
base::DictionaryValue* parameters);
virtual ~WindowCommand();
- virtual bool DoesPost();
- virtual bool DoesDelete();
- virtual void ExecutePost(Response* const response);
- virtual void ExecuteDelete(Response* const response);
+ virtual bool DoesPost() OVERRIDE;
+ virtual bool DoesDelete() OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
+ virtual void ExecuteDelete(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(WindowCommand);
@@ -75,8 +75,8 @@ class SwitchFrameCommand : public WebDriverCommand {
base::DictionaryValue* parameters);
virtual ~SwitchFrameCommand();
- virtual bool DoesPost();
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
bool GetWebElementParameter(const std::string& key, ElementId* out) const;
@@ -91,8 +91,8 @@ class ActiveElementCommand : public WebDriverCommand {
base::DictionaryValue* parameters);
virtual ~ActiveElementCommand();
- 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(ActiveElementCommand);
diff --git a/chrome/test/webdriver/commands/title_command.h b/chrome/test/webdriver/commands/title_command.h
index 4a4723e..ba11f44 100644
--- a/chrome/test/webdriver/commands/title_command.h
+++ b/chrome/test/webdriver/commands/title_command.h
@@ -22,8 +22,8 @@ class TitleCommand : public WebDriverCommand {
const DictionaryValue* const parameters);
virtual ~TitleCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(TitleCommand);
diff --git a/chrome/test/webdriver/commands/url_command.h b/chrome/test/webdriver/commands/url_command.h
index 075a4a8..2cb9b48 100644
--- a/chrome/test/webdriver/commands/url_command.h
+++ b/chrome/test/webdriver/commands/url_command.h
@@ -23,10 +23,10 @@ class URLCommand : public WebDriverCommand {
const DictionaryValue* const parameters);
virtual ~URLCommand();
- virtual bool DoesGet();
- virtual bool DoesPost();
- virtual void ExecuteGet(Response* const response);
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(URLCommand);
diff --git a/chrome/test/webdriver/commands/webdriver_command.h b/chrome/test/webdriver/commands/webdriver_command.h
index 9a6b754..65442dc 100644
--- a/chrome/test/webdriver/commands/webdriver_command.h
+++ b/chrome/test/webdriver/commands/webdriver_command.h
@@ -32,9 +32,9 @@ class WebDriverCommand : public Command {
virtual ~WebDriverCommand();
// Initializes this webdriver command by fetching the command session.
- virtual bool Init(Response* const response);
+ virtual bool Init(Response* const response) OVERRIDE;
- virtual void Finish();
+ virtual void Finish() OVERRIDE;
protected:
Session* session_;
diff --git a/chrome/test/webdriver/commands/webelement_commands.h b/chrome/test/webdriver/commands/webelement_commands.h
index 32d6b66..287e89d 100644
--- a/chrome/test/webdriver/commands/webelement_commands.h
+++ b/chrome/test/webdriver/commands/webelement_commands.h
@@ -32,7 +32,7 @@ class WebElementCommand : public WebDriverCommand {
const base::DictionaryValue* const parameters);
virtual ~WebElementCommand();
- virtual bool Init(Response* const response);
+ virtual bool Init(Response* const response) OVERRIDE;
protected:
const std::vector<std::string>& path_segments_;
@@ -50,8 +50,8 @@ class ElementAttributeCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementAttributeCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementAttributeCommand);
@@ -65,8 +65,8 @@ class ElementClearCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementClearCommand();
- 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(ElementClearCommand);
@@ -80,8 +80,8 @@ class ElementCssCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementCssCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementCssCommand);
@@ -95,8 +95,8 @@ class ElementDisplayedCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementDisplayedCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementDisplayedCommand);
@@ -110,8 +110,8 @@ class ElementEnabledCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementEnabledCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementEnabledCommand);
@@ -125,8 +125,8 @@ class ElementEqualsCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementEqualsCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementEqualsCommand);
@@ -140,8 +140,8 @@ class ElementLocationCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementLocationCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementLocationCommand);
@@ -156,8 +156,8 @@ class ElementLocationInViewCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementLocationInViewCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementLocationInViewCommand);
@@ -171,8 +171,8 @@ class ElementNameCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementNameCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementNameCommand);
@@ -187,10 +187,10 @@ class ElementSelectedCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementSelectedCommand();
- virtual bool DoesGet();
- virtual bool DoesPost();
- virtual void ExecuteGet(Response* const response);
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementSelectedCommand);
@@ -204,8 +204,8 @@ class ElementSizeCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementSizeCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementSizeCommand);
@@ -219,8 +219,8 @@ class ElementSubmitCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementSubmitCommand();
- 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(ElementSubmitCommand);
@@ -234,8 +234,8 @@ class ElementToggleCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementToggleCommand();
- 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(ElementToggleCommand);
@@ -250,10 +250,10 @@ class ElementValueCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementValueCommand();
- virtual bool DoesGet();
- virtual bool DoesPost();
- virtual void ExecuteGet(Response* const response);
- virtual void ExecutePost(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual bool DoesPost() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
+ virtual void ExecutePost(Response* const response) OVERRIDE;
private:
// Returns whether the element has a given attribute pair.
@@ -274,8 +274,8 @@ class ElementTextCommand : public WebElementCommand {
base::DictionaryValue* parameters);
virtual ~ElementTextCommand();
- virtual bool DoesGet();
- virtual void ExecuteGet(Response* const response);
+ virtual bool DoesGet() OVERRIDE;
+ virtual void ExecuteGet(Response* const response) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ElementTextCommand);