diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-14 19:37:24 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-14 19:37:24 +0000 |
commit | 36b147bd8298c28e8ba4e7ab529b199aa3cce680 (patch) | |
tree | 14a37f9ca35a483923a1a04f7f6bfcdf4d151507 /webkit/glue/plugins/plugin_lib.h | |
parent | efbac100e18d55257040248dca9592e9f6bea67d (diff) | |
download | chromium_src-36b147bd8298c28e8ba4e7ab529b199aa3cce680.zip chromium_src-36b147bd8298c28e8ba4e7ab529b199aa3cce680.tar.gz chromium_src-36b147bd8298c28e8ba4e7ab529b199aa3cce680.tar.bz2 |
Fix spelling.
TBR=tony
Review URL: http://codereview.chromium.org/7316
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3361 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/plugin_lib.h')
-rw-r--r-- | webkit/glue/plugins/plugin_lib.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webkit/glue/plugins/plugin_lib.h b/webkit/glue/plugins/plugin_lib.h index a0a6a82..06b7ef9 100644 --- a/webkit/glue/plugins/plugin_lib.h +++ b/webkit/glue/plugins/plugin_lib.h @@ -5,6 +5,8 @@ #ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_LIB_H__ #define WEBKIT_GLUE_PLUGIN_PLUGIN_LIB_H__ +#include "build/build_config.h" + #include <string> #include "base/basictypes.h" @@ -83,10 +85,12 @@ class PluginLib : public base::RefCounted<PluginLib> { // NPAPI method to shutdown a Plugin. void NP_Shutdown(void); +#if defined(OS_WIN) // Helper function to load a plugin. // Returns the module handle on success. static HMODULE LoadPluginHelper(const std::wstring plugin_file); - +#endif + int instance_count() const { return instance_count_; } private: @@ -115,7 +119,9 @@ class PluginLib : public base::RefCounted<PluginLib> { bool internal_; // Whether this an internal plugin. scoped_ptr<WebPluginInfo> web_plugin_info_; // supported mime types, description +#if defined(OS_WIN) HMODULE module_; // the opened DLL handle +#endif NPPluginFuncs plugin_funcs_; // the struct of plugin side functions bool initialized_; // is the plugin initialized NPSavedData *saved_data_; // persisted plugin info for NPAPI |