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

Side by Side Diff: webkit/plugins/npapi/default_plugin_shared.h

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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
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 // Thes file contains stuff that should be shared among projects that do some 5 // Thes file contains stuff that should be shared among projects that do some
6 // special handling with default plugin 6 // special handling with default plugin
7 7
8 #ifndef WEBKIT_GLUE_PLUGINS_DEFAULT_PLUGIN_SHARED_H 8 #ifndef WEBKIT_PLUGINS_NPAPI_DEFAULT_PLUGIN_SHARED_H
9 #define WEBKIT_GLUE_PLUGINS_DEFAULT_PLUGIN_SHARED_H 9 #define WEBKIT_PLUGINS_NPAPI_DEFAULT_PLUGIN_SHARED_H
10
11 namespace webkit {
12 namespace npapi {
10 13
11 namespace default_plugin { 14 namespace default_plugin {
12 15
13 // We use the NPNGetValue host function to send notification message to host. 16 // We use the NPNGetValue host function to send notification message to host.
14 // This corresponds to NPNVariable defined in npapi.h, and should be chosen so 17 // This corresponds to NPNVariable defined in npapi.h, and should be chosen so
15 // as to not overlap values if NPAPI is updated. 18 // as to not overlap values if NPAPI is updated.
16 19
17 const int kMissingPluginStatusStart = 5000; 20 const int kMissingPluginStatusStart = 5000;
18 21
19 enum MissingPluginStatus { 22 enum MissingPluginStatus {
20 MISSING_PLUGIN_AVAILABLE, 23 MISSING_PLUGIN_AVAILABLE,
21 MISSING_PLUGIN_USER_STARTED_DOWNLOAD 24 MISSING_PLUGIN_USER_STARTED_DOWNLOAD
22 }; 25 };
23 26
24 #if defined(OS_WIN) 27 #if defined(OS_WIN)
25 #include <windows.h> 28 #include <windows.h>
26 const int kInstallMissingPluginMessage = WM_APP + 117; 29 const int kInstallMissingPluginMessage = WM_APP + 117;
27 #endif 30 #endif
28 31
29 } // namespace default_plugin 32 } // namespace default_plugin
30 33
31 #endif // WEBKIT_GLUE_PLUGINS_DEFAULT_PLUGIN_SHARED_H 34 } // namespace npapi
35 } // namespace webkit
36
37 #endif // WEBKIT_PLUGINS_NPAPI_DEFAULT_PLUGIN_SHARED_H
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/coregraphics_private_symbols_mac.h ('k') | webkit/plugins/npapi/gtk_plugin_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698