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_GLUE_PLUGIN_CONSTANTS_WIN_H_ |
6 #define WEBKIT_GLUE_PLUGIN_CONSTANTS_WIN_H_ | 6 #define WEBKIT_GLUE_PLUGIN_CONSTANTS_WIN_H_ |
7 | 7 |
8 // Used by the plugins_test when testing the older WMP plugin to force the new | 8 // Used by the plugins_test when testing the older WMP plugin to force the new |
9 // plugin to not get loaded. | 9 // plugin to not get loaded. |
10 #define kUseOldWMPPluginSwitch L"use-old-wmp" | 10 #define kUseOldWMPPluginSwitch L"use-old-wmp" |
11 // Used for testing the ActiveX shim. By default it's off. If this flag is | 11 // Used for testing the ActiveX shim. By default it's off. If this flag is |
12 // specified we will use the native ActiveX shim. | 12 // specified we will use the native ActiveX shim. |
13 #define kNoNativeActiveXShimSwitch L"no-activex" | 13 #define kNoNativeActiveXShimSwitch L"no-activex" |
14 // Internal file name for the ActiveX shim, used as a unique identifier. | 14 // Internal file name for the ActiveX shim, used as a unique identifier. |
15 #define kActiveXShimFileName L"activex-shim" | 15 #define kActiveXShimFileName L"activex-shim" |
16 // Internal file name for the ActiveX shim, registered as the Windows Media | 16 // Internal file name for the ActiveX shim, registered as the Windows Media |
17 // Player. Some sites walk the plugin list and look for specifically-named | 17 // Player. Some sites walk the plugin list and look for specifically-named |
18 // plugins, so we must oblige them with a very specific name. See | 18 // plugins, so we must oblige them with a very specific name. See |
19 // http://codereview.chromium.org/7234 . | 19 // http://codereview.chromium.org/7234 . |
20 #define kActiveXShimFileNameForMediaPlayer \ | 20 #define kActiveXShimFileNameForMediaPlayer \ |
21 L"Microsoft\xAE Windows Media Player Firefox Plugin" | 21 L"Microsoft\xAE Windows Media Player Firefox Plugin" |
22 | 22 |
| 23 |
| 24 // The window class name for a plugin window. |
| 25 #define kNativeWindowClassName L"NativeWindowClass" |
| 26 |
| 27 // The name of the window class name for the wrapper HWND around the actual |
| 28 // plugin window that's used when running in multi-process mode. This window |
| 29 // is created on the browser UI thread. |
| 30 #define kWrapperNativeWindowClassName L"WrapperNativeWindowClass" |
| 31 |
| 32 // The name of the custom window message that the browser uses to tell the |
| 33 // plugin process to paint a window. |
| 34 #define kPaintMessageName L"Chrome_CustomPaint" |
| 35 |
23 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H_ | 36 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H_ |
OLD | NEW |