Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: webkit/glue/plugins/plugin_list.h

Issue 18299: Changes to make it possible to statically link Gears. This is disabled by an... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/plugins/plugin_lib_win.cc ('k') | webkit/glue/plugins/plugin_list_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // TODO: Need mechanism to cleanup the static instance 5 // TODO: Need mechanism to cleanup the static instance
6 6
7 #ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H__ 7 #ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H__
8 #define WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H__ 8 #define WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H__
9 9
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/file_path.h" 15 #include "base/file_path.h"
16 #include "base/ref_counted.h" 16 #include "base/ref_counted.h"
17 #include "webkit/glue/webplugin.h" 17 #include "webkit/glue/webplugin.h"
18 18
19 class GURL; 19 class GURL;
20 20
21 namespace NPAPI 21 namespace NPAPI
22 { 22 {
23 23
24 #define kDefaultPluginLibraryName FILE_PATH_LITERAL("default_plugin") 24 #define kDefaultPluginLibraryName FILE_PATH_LITERAL("default_plugin")
25 #define kGearsPluginLibraryName FILE_PATH_LITERAL("gears")
25 26
26 class PluginInstance; 27 class PluginInstance;
27 28
28 // The PluginList is responsible for loading our NPAPI based plugins. It does 29 // The PluginList is responsible for loading our NPAPI based plugins. It does
29 // so in whatever manner is appropriate for the platform. On Windows, it loads 30 // so in whatever manner is appropriate for the platform. On Windows, it loads
30 // plugins from a known directory by looking for DLLs which start with "NP", 31 // plugins from a known directory by looking for DLLs which start with "NP",
31 // and checking to see if they are valid NPAPI libraries. On the Mac, it walks 32 // and checking to see if they are valid NPAPI libraries. On the Mac, it walks
32 // the machine-wide and user plugin directories and loads anything that has 33 // the machine-wide and user plugin directories and loads anything that has
33 // the correct types. On Linux, it walks the plugin directories as well 34 // the correct types. On Linux, it walks the plugin directories as well
34 // (e.g. /usr/lib/browser-plugins/). 35 // (e.g. /usr/lib/browser-plugins/).
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Contains information about the available plugins. 151 // Contains information about the available plugins.
151 std::vector<WebPluginInfo> plugins_; 152 std::vector<WebPluginInfo> plugins_;
152 153
153 DISALLOW_EVIL_CONSTRUCTORS(PluginList); 154 DISALLOW_EVIL_CONSTRUCTORS(PluginList);
154 }; 155 };
155 156
156 } // namespace NPAPI 157 } // namespace NPAPI
157 158
158 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H__ 159 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H__
159 160
OLDNEW
« no previous file with comments | « webkit/glue/plugins/plugin_lib_win.cc ('k') | webkit/glue/plugins/plugin_list_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698