summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/plugin_constants_win.h
blob: d2a93bdadd787f7d74757ea157f2c82ca65f736d (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
// 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 L"use-old-wmp"
// Used for testing the ActiveX shim. By default it's off. If this flag is
// specified we will use the native ActiveX shim.
#define kNoNativeActiveXShimSwitch L"no-activex"
// Internal file name for the ActiveX shim, used as a unique identifier.
#define kActiveXShimFileName L"activex-shim"
// Internal file name for the ActiveX shim, registered as the Windows Media
// Player. Some sites walk the plugin list and look for specifically-named
// plugins, so we must oblige them with a very specific name. See
// http://codereview.chromium.org/7234 .
#define kActiveXShimFileNameForMediaPlayer \
    L"Microsoft\xAE Windows Media Player Firefox Plugin"


// 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"

#endif  // WEBKIT_GLUE_PLUGIN_PLUGIN_LIST_H_