14 #ifndef AWWEBVIEWLISTENER_H 15 #define AWWEBVIEWLISTENER_H 17 #include "pandabase.h" 18 #include "typedReferenceCount.h" 21 #include "awesomium_includes.h" 43 void onBeginNavigation(
const std::string& url,
const std::wstring& frameName) ;
56 void onBeginLoading(
const std::string& url,
const std::wstring& frameName,
int statusCode,
const std::wstring& mimeType);
61 void onFinishLoading();
70 void onCallback(
const std::string& name,
const Awesomium::JSArguments& args);
79 void onReceiveTitle(
const std::wstring& title,
const std::wstring& frameName) ;
86 void onChangeTooltip(
const std::wstring& tooltip);
93 void onChangeKeyboardFocus(
bool isFocused) ;
101 void onChangeTargetURL(
const std::string& url) ;
108 static void init_type() {
109 TypedReferenceCount::init_type();
110 register_type(_type_handle,
"AwWebViewListener",
111 TypedReferenceCount::get_class_type());
114 return get_class_type();
116 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
Thin bindings, wraps a WebViewListener.
TypeHandle is the identifier used to differentiate C++ class types.