From efd4dfc2ed1aeab923b14db6ad2a9d11781ddab9 Mon Sep 17 00:00:00 2001 From: "mad@chromium.org" Date: Fri, 26 Mar 2010 20:14:40 +0000 Subject: Added the propagation of the OnChannelError notification. So that automation tests can tell when the communication between Chrome and Chrome Frame was cut. BUG=none TEST=none Review URL: http://codereview.chromium.org/1237003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42810 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_frame_activex.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome_frame/chrome_frame_activex.h') diff --git a/chrome_frame/chrome_frame_activex.h b/chrome_frame/chrome_frame_activex.h index 8ebab2b..dec399e 100644 --- a/chrome_frame/chrome_frame_activex.h +++ b/chrome_frame/chrome_frame_activex.h @@ -11,6 +11,7 @@ #include #include +#include #include "base/scoped_bstr_win.h" #include "base/scoped_comptr_win.h" @@ -56,7 +57,7 @@ END_MSG_MAP() HRESULT FinalConstruct(); - virtual HRESULT OnDraw(ATL_DRAWINFO& draw_info); + virtual HRESULT OnDraw(ATL_DRAWINFO& draw_info); // NOLINT // IPersistPropertyBag implementation STDMETHOD(GetClassID)(CLSID* class_id) { @@ -97,6 +98,7 @@ END_MSG_MAP() virtual void OnGetEnabledExtensionsComplete( void* user_data, const std::vector& extension_directories); + virtual void OnChannelError(); private: LRESULT OnCreate(UINT message, WPARAM wparam, LPARAM lparam, -- cgit v1.1