| 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 toolband implementation. | 5 // IE toolband implementation. |
| 6 #ifndef CEEE_IE_PLUGIN_TOOLBAND_TOOL_BAND_H_ | 6 #ifndef CEEE_IE_PLUGIN_TOOLBAND_TOOL_BAND_H_ |
| 7 #define CEEE_IE_PLUGIN_TOOLBAND_TOOL_BAND_H_ | 7 #define CEEE_IE_PLUGIN_TOOLBAND_TOOL_BAND_H_ |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlapp.h> // Must be included AFTER base. | 10 #include <atlapp.h> // Must be included AFTER base. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 STDMETHOD(GetSizeMax)(ULARGE_INTEGER *size); | 133 STDMETHOD(GetSizeMax)(ULARGE_INTEGER *size); |
| 134 // @} | 134 // @} |
| 135 | 135 |
| 136 | 136 |
| 137 // @name IChromeFramePrivileged implementation. | 137 // @name IChromeFramePrivileged implementation. |
| 138 // @{ | 138 // @{ |
| 139 STDMETHOD(GetWantsPrivileged)(boolean *wants_privileged); | 139 STDMETHOD(GetWantsPrivileged)(boolean *wants_privileged); |
| 140 STDMETHOD(GetChromeExtraArguments)(BSTR *args); | 140 STDMETHOD(GetChromeExtraArguments)(BSTR *args); |
| 141 STDMETHOD(GetChromeProfileName)(BSTR *args); | 141 STDMETHOD(GetChromeProfileName)(BSTR *args); |
| 142 STDMETHOD(GetExtensionApisToAutomate)(BSTR *args); | 142 STDMETHOD(GetExtensionApisToAutomate)(BSTR *args); |
| 143 STDMETHOD(ShouldShowVersionMismatchDialog)(); |
| 143 // @} | 144 // @} |
| 144 | 145 |
| 145 | 146 |
| 146 // @name ChromeFrame event handlers | 147 // @name ChromeFrame event handlers |
| 147 // @{ | 148 // @{ |
| 148 STDMETHOD_(void, OnCfReadyStateChanged)(LONG state); | 149 STDMETHOD_(void, OnCfReadyStateChanged)(LONG state); |
| 149 STDMETHOD_(void, OnCfExtensionReady)(BSTR path, int response); | 150 STDMETHOD_(void, OnCfExtensionReady)(BSTR path, int response); |
| 150 STDMETHOD_(void, OnCfGetEnabledExtensionsComplete)( | 151 STDMETHOD_(void, OnCfGetEnabledExtensionsComplete)( |
| 151 SAFEARRAY* extension_directories); | 152 SAFEARRAY* extension_directories); |
| 152 STDMETHOD_(void, OnCfMessage)(IDispatch* event); | 153 STDMETHOD_(void, OnCfMessage)(IDispatch* event); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 static _ATL_FUNC_INFO handler_type_long_; | 239 static _ATL_FUNC_INFO handler_type_long_; |
| 239 static _ATL_FUNC_INFO handler_type_idispatch_bstr_; | 240 static _ATL_FUNC_INFO handler_type_idispatch_bstr_; |
| 240 static _ATL_FUNC_INFO handler_type_bstr_i4_; | 241 static _ATL_FUNC_INFO handler_type_bstr_i4_; |
| 241 static _ATL_FUNC_INFO handler_type_bstrarray_; | 242 static _ATL_FUNC_INFO handler_type_bstrarray_; |
| 242 static _ATL_FUNC_INFO handler_type_idispatch_variantref_; | 243 static _ATL_FUNC_INFO handler_type_idispatch_variantref_; |
| 243 | 244 |
| 244 DISALLOW_COPY_AND_ASSIGN(ToolBand); | 245 DISALLOW_COPY_AND_ASSIGN(ToolBand); |
| 245 }; | 246 }; |
| 246 | 247 |
| 247 #endif // CEEE_IE_PLUGIN_TOOLBAND_TOOL_BAND_H_ | 248 #endif // CEEE_IE_PLUGIN_TOOLBAND_TOOL_BAND_H_ |
| OLD | NEW |