00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 INLINE void AwWebView::
00016 destroy(void)
00017 {
00018 _myWebView->destroy();
00019 }
00020
00021
00022 INLINE void AwWebView::
00023 setListener(Awesomium::WebViewListener * listener) {
00024 _myWebView->setListener(listener);
00025 }
00026
00027 INLINE Awesomium::WebViewListener* AwWebView::
00028 getListener() {
00029 return _myWebView->getListener();
00030 }
00031
00032 INLINE void AwWebView::
00033 goToHistoryOffset(int offset) {
00034 _myWebView->goToHistoryOffset(offset);
00035 }
00036
00037 INLINE void AwWebView::
00038 executeJavascript2(const std::string& javascript, const std::string& frameName ) {
00039 _myWebView->executeJavascript2(javascript, frameName);
00040 }
00041
00042 INLINE Awesomium::FutureJSValue AwWebView::
00043 executeJavascriptWithResult2(const std::string& javascript, const std::string& frameName ) {
00044 return _myWebView->executeJavascriptWithResult2(javascript, frameName);
00045 }
00046
00047 INLINE void AwWebView::
00048 setProperty(const std::string& name, const Awesomium::JSValue& value) {
00049 _myWebView->setProperty(name, value);
00050 }
00051
00052 INLINE void AwWebView::
00053 setCallback(const std::string& name) {
00054 _myWebView->setCallback(name);
00055 }
00056
00057 INLINE bool AwWebView::
00058 isDirty() {
00059 return _myWebView->isDirty();
00060 }
00061
00062 INLINE void AwWebView::
00063 render( size_t destination, int destRowSpan, int destDepth)
00064 {
00065 _myWebView->render( reinterpret_cast<unsigned char *>(destination), destRowSpan, destDepth, 0);
00066 }
00067
00068
00069
00070 INLINE void AwWebView::
00071 injectMouseUp(AwWebView::MouseButton button) {
00072 _myWebView->injectMouseUp(static_cast<Awesomium::MouseButton>(button));
00073 }
00074
00075 INLINE void AwWebView::
00076 injectMouseWheelXY(int scrollAmountX, int scrollAmountY){
00077 _myWebView->injectMouseWheelXY(scrollAmountX, scrollAmountY);
00078 }
00079
00080 INLINE void AwWebView::
00081 injectKeyEvent(bool press, int modifiers, int windowsCode, int nativeCode) {
00082 _myWebView->injectKeyEvent(press, modifiers, windowsCode, nativeCode);
00083 }
00084