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

Side by Side Diff: chrome_frame/urlmon_url_request.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 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 | « chrome_frame/extra_system_apis.h ('k') | chrome_frame/urlmon_url_request.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_H_ 5 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_H_
6 #define CHROME_FRAME_URLMON_URL_REQUEST_H_ 6 #define CHROME_FRAME_URLMON_URL_REQUEST_H_
7 7
8 #include <urlmon.h> 8 #include <urlmon.h>
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlcom.h> 10 #include <atlcom.h>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 BEGIN_MSG_MAP(UrlmonUrlRequest) 55 BEGIN_MSG_MAP(UrlmonUrlRequest)
56 CHAIN_MSG_MAP(TaskMarshaller) 56 CHAIN_MSG_MAP(TaskMarshaller)
57 END_MSG_MAP() 57 END_MSG_MAP()
58 58
59 // PluginUrlRequest implementation 59 // PluginUrlRequest implementation
60 virtual bool Start(); 60 virtual bool Start();
61 virtual void Stop(); 61 virtual void Stop();
62 virtual bool Read(int bytes_to_read); 62 virtual bool Read(int bytes_to_read);
63 63
64 void TransferToHost(IUnknown* host);
65
64 // IBindStatusCallback implementation 66 // IBindStatusCallback implementation
65 STDMETHOD(OnStartBinding)(DWORD reserved, IBinding* binding); 67 STDMETHOD(OnStartBinding)(DWORD reserved, IBinding* binding);
66 STDMETHOD(GetPriority)(LONG* priority); 68 STDMETHOD(GetPriority)(LONG* priority);
67 STDMETHOD(OnLowResource)(DWORD reserved); 69 STDMETHOD(OnLowResource)(DWORD reserved);
68 STDMETHOD(OnProgress)(ULONG progress, ULONG max_progress, 70 STDMETHOD(OnProgress)(ULONG progress, ULONG max_progress,
69 ULONG status_code, LPCWSTR status_text); 71 ULONG status_code, LPCWSTR status_text);
70 STDMETHOD(OnStopBinding)(HRESULT result, LPCWSTR error); 72 STDMETHOD(OnStopBinding)(HRESULT result, LPCWSTR error);
71 STDMETHOD(GetBindInfo)(DWORD* bind_flags, BINDINFO* bind_info); 73 STDMETHOD(GetBindInfo)(DWORD* bind_flags, BINDINFO* bind_info);
72 STDMETHOD(OnDataAvailable)(DWORD flags, DWORD size, FORMATETC* formatetc, 74 STDMETHOD(OnDataAvailable)(DWORD flags, DWORD size, FORMATETC* formatetc,
73 STGMEDIUM* storage); 75 STGMEDIUM* storage);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 static int instance_count_; 259 static int instance_count_;
258 HWND parent_window_; 260 HWND parent_window_;
259 // Set to true if a redirect notification was aborted. 261 // Set to true if a redirect notification was aborted.
260 bool ignore_redirect_stop_binding_error_; 262 bool ignore_redirect_stop_binding_error_;
261 263
262 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest); 264 DISALLOW_COPY_AND_ASSIGN(UrlmonUrlRequest);
263 }; 265 };
264 266
265 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_ 267 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_
266 268
OLDNEW
« no previous file with comments | « chrome_frame/extra_system_apis.h ('k') | chrome_frame/urlmon_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698