OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/plugin/webplugin_delegate_stub.h" | 5 #include "content/plugin/webplugin_delegate_stub.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/string_number_conversions.h" | 11 #include "base/string_number_conversions.h" |
12 #include "content/common/plugin_messages.h" | 12 #include "content/common_child/plugin_messages.h" |
13 #include "content/plugin/plugin_channel.h" | 13 #include "content/plugin/plugin_channel.h" |
14 #include "content/plugin/plugin_thread.h" | 14 #include "content/plugin/plugin_thread.h" |
15 #include "content/plugin/webplugin_proxy.h" | 15 #include "content/plugin/webplugin_proxy.h" |
16 #include "content/public/common/content_client.h" | 16 #include "content/public/common/content_client.h" |
17 #include "content/public/common/content_constants.h" | 17 #include "content/public/common/content_constants.h" |
18 #include "content/public/common/content_switches.h" | 18 #include "content/public/common/content_switches.h" |
19 #include "third_party/npapi/bindings/npapi.h" | 19 #include "third_party/npapi/bindings/npapi.h" |
20 #include "third_party/npapi/bindings/npruntime.h" | 20 #include "third_party/npapi/bindings/npruntime.h" |
21 #include "skia/ext/platform_device.h" | 21 #include "skia/ext/platform_device.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 } | 390 } |
391 | 391 |
392 void WebPluginDelegateStub::OnHTTPRangeRequestReply( | 392 void WebPluginDelegateStub::OnHTTPRangeRequestReply( |
393 unsigned long resource_id, int range_request_id) { | 393 unsigned long resource_id, int range_request_id) { |
394 WebPluginResourceClient* resource_client = | 394 WebPluginResourceClient* resource_client = |
395 delegate_->CreateSeekableResourceClient(resource_id, range_request_id); | 395 delegate_->CreateSeekableResourceClient(resource_id, range_request_id); |
396 webplugin_->OnResourceCreated(resource_id, resource_client); | 396 webplugin_->OnResourceCreated(resource_id, resource_client); |
397 } | 397 } |
398 | 398 |
399 } // namespace content | 399 } // namespace content |
OLD | NEW |