diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2013-11-25 15:37:06 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-30 11:57:54 +0100 |
commit | 4343bf8fafc3407a87f6c1e3b05476676b405b1c (patch) | |
tree | 87513685c6d1c08cfe5c94e83b938662d621f9b8 /src/core/web_contents_delegate_qt.h | |
parent | 284003c590e79404ebcdd7665f61f7a533bdc0a7 (diff) |
WebPage: Implement javaScriptConsoleMessage
And unskip the corresponding autotest.
Change-Id: Ida2dcee38b261b2ba4ad0c5c016f5510ed1590a4
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/web_contents_delegate_qt.h')
-rw-r--r-- | src/core/web_contents_delegate_qt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/web_contents_delegate_qt.h b/src/core/web_contents_delegate_qt.h index ca58cfb83..019998241 100644 --- a/src/core/web_contents_delegate_qt.h +++ b/src/core/web_contents_delegate_qt.h @@ -74,6 +74,7 @@ public: virtual void DidFailProvisionalLoad(int64 frame_id, bool is_main_frame, const GURL& validated_url, int error_code, const string16& error_description, content::RenderViewHost* render_view_host) Q_DECL_OVERRIDE; virtual content::JavaScriptDialogManager *GetJavaScriptDialogManager() Q_DECL_OVERRIDE; virtual void RunFileChooser(content::WebContents *, const content::FileChooserParams ¶ms) Q_DECL_OVERRIDE; + virtual bool AddMessageToConsole(content::WebContents* source, int32 level, const string16& message, int32 line_no, const string16& source_id) Q_DECL_OVERRIDE; private: WebContentsAdapterClient *m_viewClient; |