Implement CefDisplayHandler OnStatusMessage and OnConsoleMessage callbacks (issue #662).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@772 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-09-07 21:01:27 +00:00
parent 6834d879d3
commit 0d086ee6fb
8 changed files with 39 additions and 23 deletions

View File

@ -49,8 +49,6 @@
/*--cef(source=client)--*/
class CefDisplayHandler : public virtual CefBase {
public:
typedef cef_handler_statustype_t StatusType;
///
// Called when the loading state has changed.
///
@ -92,8 +90,7 @@ class CefDisplayHandler : public virtual CefBase {
///
/*--cef(optional_param=value)--*/
virtual void OnStatusMessage(CefRefPtr<CefBrowser> browser,
const CefString& value,
StatusType type) {}
const CefString& value) {}
///
// Called to display a console message. Return true to stop the message from