| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // IE ChromeFrameHost implementation. | 5 // IE ChromeFrameHost implementation. |
| 6 #ifndef CEEE_IE_COMMON_CHROME_FRAME_HOST_H_ | 6 #ifndef CEEE_IE_COMMON_CHROME_FRAME_HOST_H_ |
| 7 #define CEEE_IE_COMMON_CHROME_FRAME_HOST_H_ | 7 #define CEEE_IE_COMMON_CHROME_FRAME_HOST_H_ |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlwin.h> | 10 #include <atlwin.h> |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 BEGIN_MSG_MAP(ChromeFrameHost) | 136 BEGIN_MSG_MAP(ChromeFrameHost) |
| 137 MSG_WM_CREATE(OnCreate) | 137 MSG_WM_CREATE(OnCreate) |
| 138 END_MSG_MAP() | 138 END_MSG_MAP() |
| 139 | 139 |
| 140 // @name IChromeFramePrivileged implementation. | 140 // @name IChromeFramePrivileged implementation. |
| 141 // @{ | 141 // @{ |
| 142 STDMETHOD(GetWantsPrivileged)(boolean* wants_privileged); | 142 STDMETHOD(GetWantsPrivileged)(boolean* wants_privileged); |
| 143 STDMETHOD(GetChromeExtraArguments)(BSTR* args); | 143 STDMETHOD(GetChromeExtraArguments)(BSTR* args); |
| 144 STDMETHOD(GetChromeProfileName)(BSTR* args); | 144 STDMETHOD(GetChromeProfileName)(BSTR* args); |
| 145 STDMETHOD(GetExtensionApisToAutomate)(BSTR* functions_enabled); | 145 STDMETHOD(GetExtensionApisToAutomate)(BSTR* functions_enabled); |
| 146 STDMETHOD(ShouldShowVersionMismatchDialog)(); |
| 146 // @} | 147 // @} |
| 147 | 148 |
| 148 // @name ChromeFrame event handlers | 149 // @name ChromeFrame event handlers |
| 149 // @{ | 150 // @{ |
| 150 STDMETHOD_(void, OnCfLoad)(IDispatch* event); | 151 STDMETHOD_(void, OnCfLoad)(IDispatch* event); |
| 151 STDMETHOD_(void, OnCfLoadError)(IDispatch* event); | 152 STDMETHOD_(void, OnCfLoadError)(IDispatch* event); |
| 152 STDMETHOD_(void, OnCfMessage)(IDispatch* event); | 153 STDMETHOD_(void, OnCfMessage)(IDispatch* event); |
| 153 STDMETHOD_(void, OnCfReadyStateChanged)(LONG state); | 154 STDMETHOD_(void, OnCfReadyStateChanged)(LONG state); |
| 154 STDMETHOD_(void, OnCfPrivateMessage)(IDispatch *event, BSTR target); | 155 STDMETHOD_(void, OnCfPrivateMessage)(IDispatch *event, BSTR target); |
| 155 STDMETHOD_(void, OnCfExtensionReady)(BSTR path, int response); | 156 STDMETHOD_(void, OnCfExtensionReady)(BSTR path, int response); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 static _ATL_FUNC_INFO handler_type_idispatch_bstr_; | 229 static _ATL_FUNC_INFO handler_type_idispatch_bstr_; |
| 229 static _ATL_FUNC_INFO handler_type_idispatch_variantptr_; | 230 static _ATL_FUNC_INFO handler_type_idispatch_variantptr_; |
| 230 static _ATL_FUNC_INFO handler_type_bstr_i4_; | 231 static _ATL_FUNC_INFO handler_type_bstr_i4_; |
| 231 static _ATL_FUNC_INFO handler_type_bstrarray_; | 232 static _ATL_FUNC_INFO handler_type_bstrarray_; |
| 232 static _ATL_FUNC_INFO handler_type_void_; | 233 static _ATL_FUNC_INFO handler_type_void_; |
| 233 | 234 |
| 234 DISALLOW_COPY_AND_ASSIGN(ChromeFrameHost); | 235 DISALLOW_COPY_AND_ASSIGN(ChromeFrameHost); |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 #endif // CEEE_IE_COMMON_CHROME_FRAME_HOST_H_ | 238 #endif // CEEE_IE_COMMON_CHROME_FRAME_HOST_H_ |
| OLD | NEW |