| 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 | |
| 12 // specified we will use the native ActiveX shim. | |
| 13 #define kNoNativeActiveXShimSwitch L"no-activex" | |
| 14 // Internal file name for the ActiveX shim, used as a unique identifier. | |
| 15 #define kActiveXShimFileName L"activex-shim" | |
| 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 | |
| 18 // plugins, so we must oblige them with a very specific name. See | |
| 19 // http://codereview.chromium.org/7234 . | |
| 20 #define kActiveXShimFileNameForMediaPlayer \ | |
| 21 L"Microsoft\xAE Windows Media Player Firefox Plugin" | |
| 22 | |
| 23 | 11 |
| 24 // The window class name for a plugin window. | 12 // The window class name for a plugin window. |
| 25 #define kNativeWindowClassName L"NativeWindowClass" | 13 #define kNativeWindowClassName L"NativeWindowClass" |
| 26 | 14 |
| 27 // The name of the window class name for the wrapper HWND around the actual | 15 // 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 | 16 // plugin window that's used when running in multi-process mode. This window |
| 29 // is created on the browser UI thread. | 17 // is created on the browser UI thread. |
| 30 #define kWrapperNativeWindowClassName L"WrapperNativeWindowClass" | 18 #define kWrapperNativeWindowClassName L"WrapperNativeWindowClass" |
| 31 | 19 |
| 32 // The name of the custom window message that the browser uses to tell the | 20 // The name of the custom window message that the browser uses to tell the |
| 33 // plugin process to paint a window. | 21 // plugin process to paint a window. |
| 34 #define kPaintMessageName L"Chrome_CustomPaint" | 22 #define kPaintMessageName L"Chrome_CustomPaint" |
| 35 | 23 |
| 36 // The name of the registry key which NPAPI plugins update on installation. | 24 // The name of the registry key which NPAPI plugins update on installation. |
| 37 #define kRegistryMozillaPlugins L"SOFTWARE\\MozillaPlugins" | 25 #define kRegistryMozillaPlugins L"SOFTWARE\\MozillaPlugins" |
| 38 | 26 |
| 39 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H_ | 27 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H_ |
| OLD | NEW |