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

#include <web_view_executor.h>

Inheritance diagram for webdriver::QWebViewCmdExecutorCreator:
Collaboration diagram for webdriver::QWebViewCmdExecutorCreator:

Public Member Functions

 QWebViewCmdExecutorCreator ()
 
virtual ~QWebViewCmdExecutorCreator ()
 
virtual ViewCmdExecutorCreateExecutor (Session *session, ViewId viewId) const
 
virtual bool CanHandleView (Session *session, ViewId viewId, ViewType *viewType=NULL) const
 
virtual std::string GetViewTypeName () const
 
- Public Member Functions inherited from webdriver::ViewCmdExecutorCreator
 ViewCmdExecutorCreator ()
 
virtual ~ViewCmdExecutorCreator ()
 

Static Public Attributes

static const ViewType WEB_VIEW_TYPE
 

Constructor & Destructor Documentation

webdriver::QWebViewCmdExecutorCreator::QWebViewCmdExecutorCreator ( )
virtual webdriver::QWebViewCmdExecutorCreator::~QWebViewCmdExecutorCreator ( )
virtual

Member Function Documentation

virtual bool webdriver::QWebViewCmdExecutorCreator::CanHandleView ( Session session,
ViewId  viewId,
ViewType viewType = NULL 
) const
virtual

check if view suppported

Parameters
sessionpointer to session
viewIdview to operate on
[out]viewTypereturned type of view
Returns
true - if there is executor for such view

Implements webdriver::ViewCmdExecutorCreator.

virtual ViewCmdExecutor* webdriver::QWebViewCmdExecutorCreator::CreateExecutor ( Session session,
ViewId  viewId 
) const
virtual

custom method, creates executor for specified view

Parameters
sessionpointer to session
viewIdview to operate on
Returns
new ViewCmdExecutor object, NULL - if cant handle

Implements webdriver::ViewCmdExecutorCreator.

virtual std::string webdriver::QWebViewCmdExecutorCreator::GetViewTypeName ( ) const
virtual
Returns
supported view type for current executor

Implements webdriver::ViewCmdExecutorCreator.

Member Data Documentation

const ViewType webdriver::QWebViewCmdExecutorCreator::WEB_VIEW_TYPE
static

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