ConsoleMessage,
WrtPluginsMessage,
IconReceived,
- FormSubmit
+ FormSubmit,
+ URIChanged
};
template <CallbackType>
DECLARE_EWK_VIEW_CALLBACK(LoadError, "load,error", _Ewk_Error*);
DECLARE_EWK_VIEW_CALLBACK(TitleChange, "title,changed", const char*);
DECLARE_EWK_VIEW_CALLBACK(URLChanged, "url,changed", const char*);
+DECLARE_EWK_VIEW_CALLBACK(URIChanged, "uri,changed", const char*);
DECLARE_EWK_VIEW_CALLBACK(LoadProgress, "load,progress", double*);
DECLARE_EWK_VIEW_CALLBACK(LoadProgressStarted, "load,progress,started", void);
DECLARE_EWK_VIEW_CALLBACK(LoadProgressFinished, "load,progress,finished", void);
if (changed_flags & content::INVALIDATE_TYPE_URL) {
const char* url = source->GetVisibleURL().spec().c_str();
web_view_->SmartCallback<EWebViewCallbacks::URLChanged>().call(url);
+ web_view_->SmartCallback<EWebViewCallbacks::URIChanged>().call(url);
}
}