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 "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
10 #include <atlbase.h> | 10 #include <atlbase.h> |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "webkit/api/public/WebCursorInfo.h" | 34 #include "webkit/api/public/WebCursorInfo.h" |
35 #include "webkit/api/public/WebDragData.h" | 35 #include "webkit/api/public/WebDragData.h" |
36 #include "webkit/api/public/WebString.h" | 36 #include "webkit/api/public/WebString.h" |
37 #include "webkit/api/public/WebVector.h" | 37 #include "webkit/api/public/WebVector.h" |
38 #include "webkit/glue/webframe.h" | 38 #include "webkit/glue/webframe.h" |
39 #include "webkit/glue/webkit_glue.h" | 39 #include "webkit/glue/webkit_glue.h" |
40 #include "webkit/glue/webplugin.h" | 40 #include "webkit/glue/webplugin.h" |
41 #include "webkit/glue/webview.h" | 41 #include "webkit/glue/webview.h" |
42 | 42 |
43 #if defined(OS_POSIX) | 43 #if defined(OS_POSIX) |
44 #include "chrome/common/ipc_channel_posix.h" | 44 #include "ipc/ipc_channel_posix.h" |
45 #endif | 45 #endif |
46 | 46 |
47 #if defined(OS_MACOSX) | 47 #if defined(OS_MACOSX) |
48 #include "base/scoped_cftyperef.h" | 48 #include "base/scoped_cftyperef.h" |
49 #endif | 49 #endif |
50 | 50 |
51 using WebKit::WebCursorInfo; | 51 using WebKit::WebCursorInfo; |
52 using WebKit::WebInputEvent; | 52 using WebKit::WebInputEvent; |
53 using WebKit::WebDragData; | 53 using WebKit::WebDragData; |
54 using WebKit::WebVector; | 54 using WebKit::WebVector; |
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 plugin_->CancelDocumentLoad(); | 1038 plugin_->CancelDocumentLoad(); |
1039 } | 1039 } |
1040 | 1040 |
1041 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest( | 1041 void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest( |
1042 const std::string& url, const std::string& range_info, | 1042 const std::string& url, const std::string& range_info, |
1043 intptr_t existing_stream, bool notify_needed, intptr_t notify_data) { | 1043 intptr_t existing_stream, bool notify_needed, intptr_t notify_data) { |
1044 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), | 1044 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), |
1045 existing_stream, notify_needed, | 1045 existing_stream, notify_needed, |
1046 notify_data); | 1046 notify_data); |
1047 } | 1047 } |
OLD | NEW |