OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_GLUE_PLUGIN_CONSTANTS_WIN_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ |
6 #define WEBKIT_GLUE_PLUGIN_CONSTANTS_WIN_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ |
7 | 7 |
8 // Used by the plugins_test when testing the older WMP plugin to force the new | 8 #include "base/string16.h" |
9 // plugin to not get loaded. | 9 |
10 #define kUseOldWMPPluginSwitch "use-old-wmp" | 10 namespace webkit { |
| 11 namespace npapi { |
11 | 12 |
12 // The window class name for a plugin window. | 13 // The window class name for a plugin window. |
13 #define kNativeWindowClassName L"NativeWindowClass" | 14 extern const char16 kNativeWindowClassName[]; |
14 | 15 |
15 // The name of the window class name for the wrapper HWND around the actual | 16 // The name of the window class name for the wrapper HWND around the actual |
16 // plugin window that's used when running in multi-process mode. This window | 17 // plugin window that's used when running in multi-process mode. This window |
17 // is created on the browser UI thread. | 18 // is created on the browser UI thread. |
18 #define kWrapperNativeWindowClassName L"WrapperNativeWindowClass" | 19 extern const char16 kWrapperNativeWindowClassName[]; |
19 | 20 |
20 // The name of the custom window message that the browser uses to tell the | 21 // The name of the custom window message that the browser uses to tell the |
21 // plugin process to paint a window. | 22 // plugin process to paint a window. |
22 #define kPaintMessageName L"Chrome_CustomPaint" | 23 extern const char16 kPaintMessageName[]; |
23 | 24 |
24 // The name of the registry key which NPAPI plugins update on installation. | 25 // The name of the registry key which NPAPI plugins update on installation. |
25 #define kRegistryMozillaPlugins L"SOFTWARE\\MozillaPlugins" | 26 extern const char16 kRegistryMozillaPlugins[]; |
26 | 27 |
27 #define kMozillaActiveXPlugin L"npmozax.dll" | 28 extern const char16 kMozillaActiveXPlugin[]; |
28 #define kNewWMPPlugin L"np-mswmp.dll" | 29 extern const char16 kNewWMPPlugin[]; |
29 #define kOldWMPPlugin L"npdsplay.dll" | 30 extern const char16 kOldWMPPlugin[]; |
30 #define kYahooApplicationStatePlugin L"npystate.dll" | 31 extern const char16 kYahooApplicationStatePlugin[]; |
31 #define kWanWangProtocolHandlerPlugin L"npww.dll" | 32 extern const char16 kWanWangProtocolHandlerPlugin[]; |
32 #define kFlashPlugin L"npswf32.dll" | 33 extern const char16 kFlashPlugin[]; |
33 #define kAcrobatReaderPlugin L"nppdf32.dll" | 34 extern const char16 kAcrobatReaderPlugin[]; |
34 #define kRealPlayerPlugin L"nppl3260.dll" | 35 extern const char16 kRealPlayerPlugin[]; |
35 #define kSilverlightPlugin L"npctrl.dll" | 36 extern const char16 kSilverlightPlugin[]; |
36 #define kJavaPlugin1 L"npjp2.dll" | 37 extern const char16 kJavaPlugin1[]; |
37 #define kJavaPlugin2 L"npdeploytk.dll" | 38 extern const char16 kJavaPlugin2[]; |
38 | 39 |
39 #define kGPUPluginMimeType "application/vnd.google.chrome.gpu-plugin" | 40 extern const char16 kGPUPluginMimeType[]; |
40 | 41 |
41 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H_ | 42 } // namespace npapi |
| 43 } // namespace webkit |
| 44 |
| 45 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_PLUGIN_LIST_H_ |
OLD | NEW |