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" | |
10 | 9 |
11 #if !defined(OS_WIN) | 10 #if !defined(OS_WIN) |
12 #error "Windows-only header" | 11 #error "Windows-only header" |
13 #endif | 12 #endif |
14 | 13 |
15 namespace webkit { | 14 namespace webkit { |
16 namespace npapi { | 15 namespace npapi { |
17 | 16 |
18 // The window class name for a plugin window. | 17 // The window class name for a plugin window. |
19 extern const char16 kNativeWindowClassName[]; | 18 extern const char16 kNativeWindowClassName[]; |
20 | 19 |
21 // 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 |
22 // 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 |
23 // is created on the browser UI thread. | 22 // is created on the browser UI thread. |
24 WEBKIT_PLUGINS_EXPORT extern const char16 kWrapperNativeWindowClassName[]; | 23 extern const char16 kWrapperNativeWindowClassName[]; |
25 | 24 |
26 // 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 |
27 // plugin process to paint a window. | 26 // plugin process to paint a window. |
28 WEBKIT_PLUGINS_EXPORT extern const char16 kPaintMessageName[]; | 27 extern const char16 kPaintMessageName[]; |
29 | 28 |
30 // 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. |
31 WEBKIT_PLUGINS_EXPORT extern const char16 kRegistryMozillaPlugins[]; | 30 extern const char16 kRegistryMozillaPlugins[]; |
32 | 31 |
33 extern const char16 kMozillaActiveXPlugin[]; | 32 extern const char16 kMozillaActiveXPlugin[]; |
34 WEBKIT_PLUGINS_EXPORT extern const char16 kNewWMPPlugin[]; | 33 extern const char16 kNewWMPPlugin[]; |
35 extern const char16 kOldWMPPlugin[]; | 34 extern const char16 kOldWMPPlugin[]; |
36 extern const char16 kYahooApplicationStatePlugin[]; | 35 extern const char16 kYahooApplicationStatePlugin[]; |
37 extern const char16 kWanWangProtocolHandlerPlugin[]; | 36 extern const char16 kWanWangProtocolHandlerPlugin[]; |
38 extern const char16 kFlashPlugin[]; | 37 extern const char16 kFlashPlugin[]; |
39 extern const char16 kAcrobatReaderPlugin[]; | 38 extern const char16 kAcrobatReaderPlugin[]; |
40 extern const char16 kRealPlayerPlugin[]; | 39 extern const char16 kRealPlayerPlugin[]; |
41 extern const char16 kSilverlightPlugin[]; | 40 extern const char16 kSilverlightPlugin[]; |
42 extern const char16 kJavaPlugin1[]; | 41 extern const char16 kJavaPlugin1[]; |
43 extern const char16 kJavaPlugin2[]; | 42 extern const char16 kJavaPlugin2[]; |
44 | 43 |
45 extern const char kGPUPluginMimeType[]; | 44 extern const char kGPUPluginMimeType[]; |
46 | 45 |
47 } // namespace npapi | 46 } // namespace npapi |
48 } // namespace webkit | 47 } // namespace webkit |
49 | 48 |
50 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_PLUGIN_LIST_H_ | 49 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_PLUGIN_LIST_H_ |
OLD | NEW |