| 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 "webkit/glue/plugins/webplugin_delegate_impl.h" | 5 #include "webkit/glue/plugins/webplugin_delegate_impl.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/process_util.h" | 12 #include "base/process_util.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/stats_counters.h" | 14 #include "base/stats_counters.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 16 #include "webkit/api/public/WebInputEvent.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
| 17 #include "webkit/glue/glue_util.h" | 17 #include "webkit/glue/glue_util.h" |
| 18 #include "webkit/glue/plugins/plugin_constants_win.h" | 18 #include "webkit/glue/plugins/plugin_constants_win.h" |
| 19 #include "webkit/glue/plugins/plugin_instance.h" | 19 #include "webkit/glue/plugins/plugin_instance.h" |
| 20 #include "webkit/glue/plugins/plugin_lib.h" | 20 #include "webkit/glue/plugins/plugin_lib.h" |
| 21 #include "webkit/glue/plugins/plugin_list.h" | 21 #include "webkit/glue/plugins/plugin_list.h" |
| 22 #include "webkit/glue/plugins/plugin_stream_url.h" | 22 #include "webkit/glue/plugins/plugin_stream_url.h" |
| 23 #include "webkit/glue/webkit_glue.h" | 23 #include "webkit/glue/webkit_glue.h" |
| 24 | 24 |
| 25 using webkit_glue::WebPlugin; | 25 using webkit_glue::WebPlugin; |
| 26 using webkit_glue::WebPluginDelegate; | 26 using webkit_glue::WebPluginDelegate; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 return plugin_stream->AsResourceClient(); | 215 return plugin_stream->AsResourceClient(); |
| 216 } | 216 } |
| 217 | 217 |
| 218 std::string mime_type; | 218 std::string mime_type; |
| 219 NPAPI::PluginStreamUrl *stream = instance()->CreateStream( | 219 NPAPI::PluginStreamUrl *stream = instance()->CreateStream( |
| 220 resource_id, url, mime_type, notify_needed, | 220 resource_id, url, mime_type, notify_needed, |
| 221 reinterpret_cast<void*>(notify_data)); | 221 reinterpret_cast<void*>(notify_data)); |
| 222 return stream; | 222 return stream; |
| 223 } | 223 } |
| OLD | NEW |