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

Side by Side Diff: chrome/plugin/webplugin_proxy.cc

Issue 2896: This CB fixes the following issues:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months 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/plugin/webplugin_proxy.h ('k') | chrome/renderer/webplugin_delegate_proxy.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/plugin/webplugin_proxy.h" 5 #include "chrome/plugin/webplugin_proxy.h"
6 6
7 #include "base/scoped_handle.h" 7 #include "base/scoped_handle.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "chrome/common/plugin_messages.h" 9 #include "chrome/common/plugin_messages.h"
10 #include "chrome/plugin/plugin_channel.h" 10 #include "chrome/plugin/plugin_channel.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 params.is_file_data = is_file_data; 237 params.is_file_data = is_file_data;
238 params.notify = notify; 238 params.notify = notify;
239 params.url = url; 239 params.url = url;
240 params.notify_data = notify_data; 240 params.notify_data = notify_data;
241 params.popups_allowed = popups_allowed; 241 params.popups_allowed = popups_allowed;
242 242
243 Send(new PluginHostMsg_URLRequest(route_id_, params)); 243 Send(new PluginHostMsg_URLRequest(route_id_, params));
244 } 244 }
245 245
246 void WebPluginProxy::CancelDocumentLoad() {
247 Send(new PluginHostMsg_CancelDocumentLoad(route_id_));
248 }
249
250 void WebPluginProxy::InitiateHTTPRangeRequest(const char* url,
251 const char* range_info,
252 void* existing_stream,
253 bool notify_needed,
254 HANDLE notify_data) {
255
256 Send(new PluginHostMsg_InitiateHTTPRangeRequest(route_id_, url,
257 range_info, existing_stream,
258 notify_needed, notify_data));
259 }
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_proxy.h ('k') | chrome/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698