| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |