diff options
Diffstat (limited to 'webkit/glue/plugins/plugin_constants_win.h')
-rw-r--r-- | webkit/glue/plugins/plugin_constants_win.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/webkit/glue/plugins/plugin_constants_win.h b/webkit/glue/plugins/plugin_constants_win.h new file mode 100644 index 0000000..9913e5d --- /dev/null +++ b/webkit/glue/plugins/plugin_constants_win.h @@ -0,0 +1,41 @@ +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef WEBKIT_GLUE_PLUGIN_CONSTANTS_WIN_H_ +#define WEBKIT_GLUE_PLUGIN_CONSTANTS_WIN_H_ + +// Used by the plugins_test when testing the older WMP plugin to force the new +// plugin to not get loaded. +#define kUseOldWMPPluginSwitch "use-old-wmp" + +// The window class name for a plugin window. +#define kNativeWindowClassName L"NativeWindowClass" + +// The name of the window class name for the wrapper HWND around the actual +// plugin window that's used when running in multi-process mode. This window +// is created on the browser UI thread. +#define kWrapperNativeWindowClassName L"WrapperNativeWindowClass" + +// The name of the custom window message that the browser uses to tell the +// plugin process to paint a window. +#define kPaintMessageName L"Chrome_CustomPaint" + +// The name of the registry key which NPAPI plugins update on installation. +#define kRegistryMozillaPlugins L"SOFTWARE\\MozillaPlugins" + +#define kMozillaActiveXPlugin L"npmozax.dll" +#define kNewWMPPlugin L"np-mswmp.dll" +#define kOldWMPPlugin L"npdsplay.dll" +#define kYahooApplicationStatePlugin L"npystate.dll" +#define kWanWangProtocolHandlerPlugin L"npww.dll" +#define kFlashPlugin L"npswf32.dll" +#define kAcrobatReaderPlugin L"nppdf32.dll" +#define kRealPlayerPlugin L"nppl3260.dll" +#define kSilverlightPlugin L"npctrl.dll" +#define kJavaPlugin1 L"npjp2.dll" +#define kJavaPlugin2 L"npdeploytk.dll" + +#define kGPUPluginMimeType "application/vnd.google.chrome.gpu-plugin" + +#endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H_ |