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_CONSTANTS_WIN_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 #include "webkit/plugins/webkit_plugins_export.h" |
9 | 10 |
10 namespace webkit { | 11 namespace webkit { |
11 namespace npapi { | 12 namespace npapi { |
12 | 13 |
13 // The window class name for a plugin window. | 14 // The window class name for a plugin window. |
14 extern const char16 kNativeWindowClassName[]; | 15 extern const char16 kNativeWindowClassName[]; |
15 | 16 |
16 // If property is non-zero window reparenting must add UIPI message filters. | 17 // If property is non-zero window reparenting must add UIPI message filters. |
17 extern const char16 kNativeWindowClassFilterProp[]; | 18 WEBKIT_PLUGINS_EXPORT extern const char16 kNativeWindowClassFilterProp[]; |
18 | 19 |
19 // The name of the window class name for the wrapper HWND around the actual | 20 // The name of the window class name for the wrapper HWND around the actual |
20 // plugin window that's used when running in multi-process mode. This window | 21 // plugin window that's used when running in multi-process mode. This window |
21 // is created on the browser UI thread. | 22 // is created on the browser UI thread. |
22 extern const char16 kWrapperNativeWindowClassName[]; | 23 WEBKIT_PLUGINS_EXPORT extern const char16 kWrapperNativeWindowClassName[]; |
23 | 24 |
24 // The name of the custom window message that the browser uses to tell the | 25 // The name of the custom window message that the browser uses to tell the |
25 // plugin process to paint a window. | 26 // plugin process to paint a window. |
26 extern const char16 kPaintMessageName[]; | 27 WEBKIT_PLUGINS_EXPORT extern const char16 kPaintMessageName[]; |
27 | 28 |
28 // The name of the registry key which NPAPI plugins update on installation. | 29 // The name of the registry key which NPAPI plugins update on installation. |
29 extern const char16 kRegistryMozillaPlugins[]; | 30 WEBKIT_PLUGINS_EXPORT extern const char16 kRegistryMozillaPlugins[]; |
30 | 31 |
31 extern const char16 kMozillaActiveXPlugin[]; | 32 extern const char16 kMozillaActiveXPlugin[]; |
32 extern const char16 kNewWMPPlugin[]; | 33 WEBKIT_PLUGINS_EXPORT extern const char16 kNewWMPPlugin[]; |
33 extern const char16 kOldWMPPlugin[]; | 34 extern const char16 kOldWMPPlugin[]; |
34 extern const char16 kYahooApplicationStatePlugin[]; | 35 extern const char16 kYahooApplicationStatePlugin[]; |
35 extern const char16 kWanWangProtocolHandlerPlugin[]; | 36 extern const char16 kWanWangProtocolHandlerPlugin[]; |
36 extern const char16 kBuiltinFlashPlugin[]; | 37 extern const char16 kBuiltinFlashPlugin[]; |
37 extern const char16 kFlashPlugin[]; | 38 extern const char16 kFlashPlugin[]; |
38 extern const char16 kAcrobatReaderPlugin[]; | 39 extern const char16 kAcrobatReaderPlugin[]; |
39 extern const char16 kRealPlayerPlugin[]; | 40 extern const char16 kRealPlayerPlugin[]; |
40 extern const char16 kSilverlightPlugin[]; | 41 extern const char16 kSilverlightPlugin[]; |
41 extern const char16 kJavaPlugin1[]; | 42 extern const char16 kJavaPlugin1[]; |
42 extern const char16 kJavaPlugin2[]; | 43 extern const char16 kJavaPlugin2[]; |
43 | 44 |
44 extern const char kGPUPluginMimeType[]; | 45 extern const char kGPUPluginMimeType[]; |
45 | 46 |
46 } // namespace npapi | 47 } // namespace npapi |
47 } // namespace webkit | 48 } // namespace webkit |
48 | 49 |
49 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_PLUGIN_LIST_H_ | 50 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_PLUGIN_LIST_H_ |
OLD | NEW |