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/child/npapi/webplugin_delegate_impl.h" | 5 #include "content/child/npapi/webplugin_delegate_impl.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/process_util.h" | 12 #include "base/process/process_handle.h" |
13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "content/child/npapi/plugin_instance.h" | 14 #include "content/child/npapi/plugin_instance.h" |
15 #include "content/child/npapi/plugin_lib.h" | 15 #include "content/child/npapi/plugin_lib.h" |
16 #include "content/child/npapi/plugin_stream_url.h" | 16 #include "content/child/npapi/plugin_stream_url.h" |
17 #include "third_party/WebKit/public/web/WebInputEvent.h" | 17 #include "third_party/WebKit/public/web/WebInputEvent.h" |
18 #include "webkit/glue/webkit_glue.h" | 18 #include "webkit/glue/webkit_glue.h" |
19 | 19 |
20 using WebKit::WebCursorInfo; | 20 using WebKit::WebCursorInfo; |
21 using WebKit::WebInputEvent; | 21 using WebKit::WebInputEvent; |
22 | 22 |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 WebPluginResourceClient* WebPluginDelegateImpl::CreateSeekableResourceClient( | 295 WebPluginResourceClient* WebPluginDelegateImpl::CreateSeekableResourceClient( |
296 unsigned long resource_id, int range_request_id) { | 296 unsigned long resource_id, int range_request_id) { |
297 WebPluginResourceClient* resource_client = instance()->GetRangeRequest( | 297 WebPluginResourceClient* resource_client = instance()->GetRangeRequest( |
298 range_request_id); | 298 range_request_id); |
299 if (resource_client) | 299 if (resource_client) |
300 resource_client->AddRangeRequestResourceId(resource_id); | 300 resource_client->AddRangeRequestResourceId(resource_id); |
301 return resource_client; | 301 return resource_client; |
302 } | 302 } |
303 | 303 |
304 } // namespace content | 304 } // namespace content |
OLD | NEW |