Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Side by Side Diff: ceee/ie/common/chrome_frame_host.h

Issue 4563001: Adding a privileged callback used in IE CF to check whether to show... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ceee/common/np_browser_functions.cc ('k') | ceee/ie/common/chrome_frame_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ceee/common/np_browser_functions.cc ('k') | ceee/ie/common/chrome_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698