| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/plugin_host.h" | 5 #include "webkit/glue/plugins/plugin_host.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "base/string_piece.h" | 10 #include "base/string_piece.h" |
| 11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 12 #if defined(OS_MACOSX) | 12 #if defined(OS_MACOSX) |
| 13 #include "base/sys_info.h" | 13 #include "base/sys_info.h" |
| 14 #endif | 14 #endif |
| 15 #include "base/sys_string_conversions.h" | 15 #include "base/sys_string_conversions.h" |
| 16 #include "base/utf_string_conversions.h" |
| 16 #include "net/base/net_util.h" | 17 #include "net/base/net_util.h" |
| 17 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" | 18 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" |
| 18 #include "webkit/glue/webkit_glue.h" | 19 #include "webkit/glue/webkit_glue.h" |
| 19 #include "webkit/glue/plugins/default_plugin_shared.h" | 20 #include "webkit/glue/plugins/default_plugin_shared.h" |
| 20 #include "webkit/glue/plugins/npapi_extension_thunk.h" | 21 #include "webkit/glue/plugins/npapi_extension_thunk.h" |
| 21 #include "webkit/glue/plugins/plugin_instance.h" | 22 #include "webkit/glue/plugins/plugin_instance.h" |
| 22 #include "webkit/glue/plugins/plugin_lib.h" | 23 #include "webkit/glue/plugins/plugin_lib.h" |
| 23 #include "webkit/glue/plugins/plugin_list.h" | 24 #include "webkit/glue/plugins/plugin_list.h" |
| 24 #include "webkit/glue/plugins/plugin_stream_url.h" | 25 #include "webkit/glue/plugins/plugin_stream_url.h" |
| 25 #include "webkit/glue/plugins/webplugin_delegate.h" | 26 #include "webkit/glue/plugins/webplugin_delegate.h" |
| (...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1079 scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id); | 1080 scoped_refptr<NPAPI::PluginInstance> plugin = FindInstance(id); |
| 1080 if (plugin.get()) { | 1081 if (plugin.get()) { |
| 1081 return plugin->ConvertPoint(sourceX, sourceY, sourceSpace, | 1082 return plugin->ConvertPoint(sourceX, sourceY, sourceSpace, |
| 1082 destX, destY, destSpace); | 1083 destX, destY, destSpace); |
| 1083 } | 1084 } |
| 1084 NOTREACHED(); | 1085 NOTREACHED(); |
| 1085 return false; | 1086 return false; |
| 1086 } | 1087 } |
| 1087 | 1088 |
| 1088 } // extern "C" | 1089 } // extern "C" |
| OLD | NEW |