WD
|
#include <webdriver_view_runner.h>
Public Member Functions | |
ViewRunner () | |
virtual | ~ViewRunner () |
virtual void | RunClosure (const base::Closure &task, base::WaitableEvent *done_event) |
Static Public Member Functions | |
static ViewRunner * | CreateRunner (void) |
template<class C > | |
static void | RegisterCustomRunner (void) |
Protected Types | |
typedef ViewRunner *(* | CreateRunnerMethod )(void) |
Static Protected Member Functions | |
template<class C > | |
static ViewRunner * | createRunner (void) |
Static Protected Attributes | |
static CreateRunnerMethod | create |
Base class for runner for view operations. It allows to run operations in other context(ie - UI thread). Has default imlementation which runs closure in same context.
|
protected |
webdriver::ViewRunner::ViewRunner | ( | ) |
|
inlinevirtual |
|
static |
Create view runner
|
inlinestaticprotected |
|
inlinestatic |
Register custom runner. There is can be only one runner per driver instance.
C | subclass of ViewRunner with custom implementation |
|
virtual |
run view operation in runner context. Finish if operation should be signaled in done_event.
task | operation to run |
done_event | event to signalize finis |
Reimplemented in webdriver::QViewRunner.
|
staticprotected |