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/renderer/webplugin_delegate_proxy.h" | 5 #include "chrome/renderer/webplugin_delegate_proxy.h" |
6 | 6 |
7 #include <atlbase.h> | 7 #include <atlbase.h> |
8 | 8 |
9 #include "generated_resources.h" | 9 #include "generated_resources.h" |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
14 #include "base/gfx/size.h" | 14 #include "base/gfx/size.h" |
15 #include "base/gfx/native_widget_types.h" | 15 #include "base/gfx/native_widget_types.h" |
16 | 16 |
17 #include "chrome/app/chrome_dll_resource.h" | 17 #include "chrome/app/chrome_dll_resource.h" |
18 #include "chrome/common/gfx/chrome_canvas.h" | 18 #include "chrome/common/gfx/chrome_canvas.h" |
19 #include "chrome/common/gfx/emf.h" | 19 #include "chrome/common/gfx/emf.h" |
20 #include "chrome/common/l10n_util.h" | 20 #include "chrome/common/l10n_util.h" |
21 #include "chrome/common/plugin_messages.h" | |
22 #include "chrome/common/resource_bundle.h" | 21 #include "chrome/common/resource_bundle.h" |
23 #include "chrome/common/win_util.h" | 22 #include "chrome/common/win_util.h" |
24 #include "chrome/plugin/npobject_proxy.h" | 23 #include "chrome/plugin/npobject_proxy.h" |
25 #include "chrome/plugin/npobject_stub.h" | 24 #include "chrome/plugin/npobject_stub.h" |
26 #include "chrome/renderer/render_thread.h" | 25 #include "chrome/renderer/render_thread.h" |
27 #include "chrome/renderer/render_view.h" | 26 #include "chrome/renderer/render_view.h" |
28 #include "googleurl/src/gurl.h" | 27 #include "googleurl/src/gurl.h" |
29 #include "net/base/mime_util.h" | 28 #include "net/base/mime_util.h" |
30 #include "webkit/glue/glue_util.h" | 29 #include "webkit/glue/glue_util.h" |
31 #include "webkit/glue/webframe.h" | 30 #include "webkit/glue/webframe.h" |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 plugin_->CancelDocumentLoad(); | 752 plugin_->CancelDocumentLoad(); |
754 } | 753 } |
755 | 754 |
756 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest( | 755 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest( |
757 const std::string& url, const std::string& range_info, | 756 const std::string& url, const std::string& range_info, |
758 HANDLE existing_stream, bool notify_needed, HANDLE notify_data) { | 757 HANDLE existing_stream, bool notify_needed, HANDLE notify_data) { |
759 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), | 758 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), |
760 existing_stream, notify_needed, | 759 existing_stream, notify_needed, |
761 notify_data); | 760 notify_data); |
762 } | 761 } |
OLD | NEW |