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

#include <webdriver_command.h>

Inheritance diagram for webdriver::ViewCommand:
Collaboration diagram for webdriver::ViewCommand:

Public Member Functions

 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 bool DoesGet () const
 
virtual bool DoesPost () const
 
virtual void ExecuteDelete (Response *const response)
 
virtual void ExecuteGet (Response *const response)
 
virtual void ExecutePost (Response *const response)
 

Protected Attributes

scoped_ptr< ViewCmdExecutorexecutor_
 
- Protected Attributes inherited from webdriver::WebDriverCommand
Sessionsession_
 
std::string session_id_
 
- Protected Attributes inherited from webdriver::Command
const std::vector< std::string > path_segments_
 
yasper::ptr< const
DictionaryValue > 
parameters_
 

Additional Inherited Members

- Protected Member Functions inherited from webdriver::WebDriverCommand
 DISALLOW_COPY_AND_ASSIGN (WebDriverCommand)
 

Detailed Description

Handles commands that interact with current view.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool webdriver::ViewCommand::Init ( Response *const  response)
virtual

Initializes this webdriver command by fetching the command session.

Reimplemented from webdriver::WebDriverCommand.

Reimplemented in webdriver::WheelCommand, webdriver::ClickCommand, webdriver::MoveToCommand, webdriver::NamedCookieCommand, and webdriver::ElementCommand.

Member Data Documentation

scoped_ptr<ViewCmdExecutor> webdriver::ViewCommand::executor_
protected

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