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

#include <web_view_creator.h>

Inheritance diagram for webdriver::QWebViewCreator:
Collaboration diagram for webdriver::QWebViewCreator:

Public Member Functions

 QWebViewCreator ()
 
virtual ~QWebViewCreator ()
 
virtual bool CreateViewByClassName (const Logger &logger, const std::string &className, const Point *position, const Size *size, ViewHandle **view) const
 
virtual bool CreateViewForUrl (const Logger &logger, const std::string &url, const Point *position, const Size *size, ViewHandle **view) const
 
- Public Member Functions inherited from webdriver::ViewCreator
 ViewCreator ()
 
virtual ~ViewCreator ()
 
template<class C >
void RegisterViewClass (const std::string &id)
 

Additional Inherited Members

- Protected Types inherited from webdriver::ViewCreator
typedef std::map< std::string,
CreateViewMethod
FactoryMap
 
- Protected Attributes inherited from webdriver::ViewCreator
FactoryMap factory
 

Detailed Description

base class for custom view's creators

Constructor & Destructor Documentation

webdriver::QWebViewCreator::QWebViewCreator ( )
virtual webdriver::QWebViewCreator::~QWebViewCreator ( )
inlinevirtual

Member Function Documentation

virtual bool webdriver::QWebViewCreator::CreateViewByClassName ( const Logger logger,
const std::string &  className,
const Point position,
const Size size,
ViewHandle **  view 
) const
virtual

creates new view of specified class

Parameters
[in]logger
[in]classNamerequested class name
[in]position- desired position
[in]size- desired size
[out]viewcreated view.
Returns
true if handled

Implements webdriver::ViewCreator.

virtual bool webdriver::QWebViewCreator::CreateViewForUrl ( const Logger logger,
const std::string &  url,
const Point position,
const Size size,
ViewHandle **  view 
) const
virtual

creates new view that can handle specified url

Parameters
[in]logger
[in]urlurl to handle
[in]position- desired position
[in]size- desired size
[out]viewcreated view.
Returns
true if handled

Implements webdriver::ViewCreator.


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