| 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" |
| 21 #include "chrome/common/resource_bundle.h" | 22 #include "chrome/common/resource_bundle.h" |
| 22 #include "chrome/common/win_util.h" | 23 #include "chrome/common/win_util.h" |
| 23 #include "chrome/plugin/npobject_proxy.h" | 24 #include "chrome/plugin/npobject_proxy.h" |
| 24 #include "chrome/plugin/npobject_stub.h" | 25 #include "chrome/plugin/npobject_stub.h" |
| 25 #include "chrome/renderer/render_thread.h" | 26 #include "chrome/renderer/render_thread.h" |
| 26 #include "chrome/renderer/render_view.h" | 27 #include "chrome/renderer/render_view.h" |
| 27 #include "googleurl/src/gurl.h" | 28 #include "googleurl/src/gurl.h" |
| 28 #include "net/base/mime_util.h" | 29 #include "net/base/mime_util.h" |
| 29 #include "webkit/glue/glue_util.h" | 30 #include "webkit/glue/glue_util.h" |
| 30 #include "webkit/glue/webframe.h" | 31 #include "webkit/glue/webframe.h" |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 plugin_->CancelDocumentLoad(); | 753 plugin_->CancelDocumentLoad(); |
| 753 } | 754 } |
| 754 | 755 |
| 755 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest( | 756 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest( |
| 756 const std::string& url, const std::string& range_info, | 757 const std::string& url, const std::string& range_info, |
| 757 HANDLE existing_stream, bool notify_needed, HANDLE notify_data) { | 758 HANDLE existing_stream, bool notify_needed, HANDLE notify_data) { |
| 758 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), | 759 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), |
| 759 existing_stream, notify_needed, | 760 existing_stream, notify_needed, |
| 760 notify_data); | 761 notify_data); |
| 761 } | 762 } |
| OLD | NEW |