15 INLINE
void AwWebView::
18 _myWebView->destroy();
22 INLINE
void AwWebView::
23 setListener(Awesomium::WebViewListener * listener) {
24 _myWebView->setListener(listener);
27 INLINE Awesomium::WebViewListener* AwWebView::
29 return _myWebView->getListener();
32 INLINE
void AwWebView::
33 goToHistoryOffset(
int offset) {
34 _myWebView->goToHistoryOffset(offset);
37 INLINE
void AwWebView::
38 executeJavascript2(
const std::string& javascript,
const std::string& frameName ) {
39 _myWebView->executeJavascript2(javascript, frameName);
42 INLINE Awesomium::FutureJSValue AwWebView::
43 executeJavascriptWithResult2(
const std::string& javascript,
const std::string& frameName ) {
44 return _myWebView->executeJavascriptWithResult2(javascript, frameName);
47 INLINE
void AwWebView::
48 setProperty(
const std::string& name,
const Awesomium::JSValue& value) {
49 _myWebView->setProperty(name, value);
52 INLINE
void AwWebView::
53 setCallback(
const std::string& name) {
54 _myWebView->setCallback(name);
57 INLINE
bool AwWebView::
59 return _myWebView->isDirty();
62 INLINE
void AwWebView::
63 render(
size_t destination,
int destRowSpan,
int destDepth)
65 _myWebView->render( reinterpret_cast<unsigned char *>(destination), destRowSpan, destDepth, 0);
70 INLINE
void AwWebView::
72 _myWebView->injectMouseUp(static_cast<Awesomium::MouseButton>(button));
75 INLINE
void AwWebView::
76 injectMouseWheelXY(
int scrollAmountX,
int scrollAmountY){
77 _myWebView->injectMouseWheelXY(scrollAmountX, scrollAmountY);
80 INLINE
void AwWebView::
81 injectKeyEvent(
bool press,
int modifiers,
int windowsCode,
int nativeCode) {
82 _myWebView->injectKeyEvent(press, modifiers, windowsCode, nativeCode);
MouseButton
Mouse button enumerations, used with WebView::injectMouseDown and WebView::injectMouseUp.