WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::HTML5LocationCommand Class Reference

#include <html5_location_commands.h>

Inheritance diagram for webdriver::HTML5LocationCommand:
Collaboration diagram for webdriver::HTML5LocationCommand:

Public Member Functions

 HTML5LocationCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~HTML5LocationCommand ()
 
virtual bool DoesGet () const OVERRIDE
 
virtual bool DoesPost () const OVERRIDE
 
virtual void ExecuteGet (Response *const response) OVERRIDE
 
virtual void ExecutePost (Response *const response) OVERRIDE
 
- Public Member Functions inherited from webdriver::ViewCommand
 ViewCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~ViewCommand ()
 
virtual bool Init (Response *const response) OVERRIDE
 
- Public Member Functions inherited from webdriver::WebDriverCommand
 WebDriverCommand (const std::vector< std::string > &path_segments, const base::DictionaryValue *const parameters)
 
virtual ~WebDriverCommand ()
 
virtual void Finish (Response *const response) OVERRIDE
 
virtual bool ShouldRunPreAndPostCommandHandlers ()
 
- Public Member Functions inherited from webdriver::Command
 Command (const std::vector< std::string > &path_segments, const DictionaryValue *const parameters)
 
 Command (const Command &other)
 
virtual ~Command ()
 
virtual bool DoesDelete () const
 
virtual void ExecuteDelete (Response *const response)
 

Additional Inherited Members

- Protected Member Functions inherited from webdriver::WebDriverCommand
 DISALLOW_COPY_AND_ASSIGN (WebDriverCommand)
 
- Protected Attributes inherited from webdriver::ViewCommand
scoped_ptr< ViewCmdExecutorexecutor_
 

Constructor & Destructor Documentation

webdriver::HTML5LocationCommand::HTML5LocationCommand ( const std::vector< std::string > &  path_segments,
const base::DictionaryValue *const  parameters 
)
virtual webdriver::HTML5LocationCommand::~HTML5LocationCommand ( )
virtual

Member Function Documentation

virtual bool webdriver::HTML5LocationCommand::DoesGet ( ) const
virtual

Indicates if this command URL responds to GET method.

Reimplemented from webdriver::Command.

virtual bool webdriver::HTML5LocationCommand::DoesPost ( ) const
virtual

Indicates if this command URL responds to POST method.

Reimplemented from webdriver::Command.

virtual void webdriver::HTML5LocationCommand::ExecuteGet ( Response *const  response)
virtual

Returns the current geolocation.

Reimplemented from webdriver::Command.

virtual void webdriver::HTML5LocationCommand::ExecutePost ( Response *const  response)
virtual

Sets the current geolocation.

Reimplemented from webdriver::Command.


The documentation for this class was generated from the following file: