summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_constants_win.h
blob: 9913e5dbe4ee897cf21f48914dee31471287d793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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_