| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_LIST_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_LIST_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_LIST_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_LIST_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 template <typename T> | 27 template <typename T> |
| 28 struct DefaultLazyInstanceTraits; | 28 struct DefaultLazyInstanceTraits; |
| 29 | 29 |
| 30 } // namespace base | 30 } // namespace base |
| 31 | 31 |
| 32 namespace webkit { | 32 namespace webkit { |
| 33 namespace npapi { | 33 namespace npapi { |
| 34 | 34 |
| 35 extern FilePath::CharType kDefaultPluginLibraryName[]; | 35 extern FilePath::CharType kDefaultPluginLibraryName[]; |
| 36 | 36 |
| 37 class PluginInstance; | |
| 38 | |
| 39 // This struct holds entry points into a plugin. The entry points are | 37 // This struct holds entry points into a plugin. The entry points are |
| 40 // slightly different between Win/Mac and Unixes. Note that the interface for | 38 // slightly different between Win/Mac and Unixes. Note that the interface for |
| 41 // querying plugins is synchronous and it is preferable to use a higher-level | 39 // querying plugins is synchronous and it is preferable to use a higher-level |
| 42 // asynchronous information to query information. | 40 // asynchronous information to query information. |
| 43 struct PluginEntryPoints { | 41 struct PluginEntryPoints { |
| 44 #if !defined(OS_POSIX) || defined(OS_MACOSX) | 42 #if !defined(OS_POSIX) || defined(OS_MACOSX) |
| 45 NP_GetEntryPointsFunc np_getentrypoints; | 43 NP_GetEntryPointsFunc np_getentrypoints; |
| 46 #endif | 44 #endif |
| 47 NP_InitializeFunc np_initialize; | 45 NP_InitializeFunc np_initialize; |
| 48 NP_ShutdownFunc np_shutdown; | 46 NP_ShutdownFunc np_shutdown; |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 // Set to true if the default plugin is enabled. | 296 // Set to true if the default plugin is enabled. |
| 299 bool default_plugin_enabled_; | 297 bool default_plugin_enabled_; |
| 300 | 298 |
| 301 DISALLOW_COPY_AND_ASSIGN(PluginList); | 299 DISALLOW_COPY_AND_ASSIGN(PluginList); |
| 302 }; | 300 }; |
| 303 | 301 |
| 304 } // namespace npapi | 302 } // namespace npapi |
| 305 } // namespace webkit | 303 } // namespace webkit |
| 306 | 304 |
| 307 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_LIST_H_ | 305 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_LIST_H_ |
| OLD | NEW |