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

Unified Diff: chrome_frame/extra_system_apis.h

Issue 385108: Transfer CF downloads to the host browser.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/chrome_frame_activex_base.h ('k') | chrome_frame/urlmon_url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/extra_system_apis.h
===================================================================
--- chrome_frame/extra_system_apis.h (revision 32964)
+++ chrome_frame/extra_system_apis.h (working copy)
@@ -34,6 +34,51 @@
STDMETHOD(GetUrlForEvents)(BSTR* url) = 0;
};
+// Web browser methods that are used by MSHTML when navigating or
+// initiating downloads. IE6.
+class __declspec(uuid("{3050F804-98B5-11CF-BB82-00AA00BDCE0B}"))
+IWebBrowserPriv : public IUnknown {
+ public:
+ STDMETHOD(NavigateWithBindCtx)(VARIANT* uri, VARIANT* flags,
+ VARIANT* target_frame, VARIANT* post_data,
+ VARIANT* headers, IBindCtx* bind_ctx,
+ LPOLESTR url_fragment);
+ STDMETHOD(OnClose)();
+};
+
+// Web browser methods that are used by MSHTML when navigating or
+// initiating downloads. IE7.
+class __declspec(uuid("{1AF32B6C-A3BA-48B9-B24E-8AA9C41F6ECD}"))
+IWebBrowserPriv2IE7 : public IUnknown {
+ public:
+ STDMETHOD(NavigateWithBindCtx2)(IUri* uri, VARIANT* flags,
+ VARIANT* target_frame, VARIANT* post_data,
+ VARIANT* headers, IBindCtx* bind_ctx,
+ LPOLESTR url_fragment);
+ STDMETHOD(SetBrowserFrameOptions)(DWORD opt1, DWORD opt2);
+ STDMETHOD(DetachConnectionPoints)();
+};
+
+// Web browser methods that are used by MSHTML when navigating or
+// initiating downloads. IE8 uses IID {3ED72303-6FFC-4214-BA90-FAF1862DEC8A}
+// whereas the IID is {1AF32B6C-A3BA-48B9-B24E-8AA9C41F6ECD} in IE7
+class __declspec(uuid("{3ED72303-6FFC-4214-BA90-FAF1862DEC8A}"))
+IWebBrowserPriv2IE8 : public IUnknown {
+ public:
+ STDMETHOD(NavigateWithBindCtx2)(IUri* uri, VARIANT* flags,
+ VARIANT* target_frame, VARIANT* post_data,
+ VARIANT* headers, IBindCtx* bind_ctx,
+ LPOLESTR url_fragment);
+ STDMETHOD(SetBrowserFrameOptions)(DWORD opt1, DWORD opt2);
+ STDMETHOD(DetachConnectionPoints)();
+ STDMETHOD(GetProcessId)(DWORD* pid);
+ STDMETHOD(CompatAttachEditEvents)();
+ STDMETHOD(HandleOpenOptions)(IUnknown* obj, BSTR bstr, int options);
+ STDMETHOD(SetSearchTerm)(BSTR term);
+ STDMETHOD(GetSearchTerm)(BSTR* term);
+ STDMETHOD(GetCurrentDocument)(IDispatch** doc);
+};
+
// This interface is used to call FireBeforeNavigate with additional
// information like url. Available on IE7 onwards.
//
« no previous file with comments | « chrome_frame/chrome_frame_activex_base.h ('k') | chrome_frame/urlmon_url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698