OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 // | |
5 // Thes file contains stuff that should be shared among projects that do some | |
6 // special handling with default plugin | |
7 | |
8 #ifndef WEBKIT_GLUE_PLUGINS_DEFAULT_PLUGIN_SHARED_H | |
9 #define WEBKIT_GLUE_PLUGINS_DEFAULT_PLUGIN_SHARED_H | |
10 | |
11 namespace default_plugin { | |
12 | |
13 // 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 | |
15 // as to not overlap values if NPAPI is updated. | |
16 | |
17 const int kMissingPluginStatusStart = 5000; | |
18 | |
19 enum MissingPluginStatus { | |
20 MISSING_PLUGIN_AVAILABLE, | |
21 MISSING_PLUGIN_USER_STARTED_DOWNLOAD | |
22 }; | |
23 | |
24 #if defined(OS_WIN) | |
25 #include <windows.h> | |
26 const int kInstallMissingPluginMessage = WM_APP + 117; | |
27 #endif | |
28 | |
29 } // namespace default_plugin | |
30 | |
31 #endif // WEBKIT_GLUE_PLUGINS_DEFAULT_PLUGIN_SHARED_H | |
OLD | NEW |