C++程序  |  54行  |  1.84 KB

// Copyright (c) 2011 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 CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
#define CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_

#include "base/strings/string16.h"

#if !defined(OS_WIN)
#error "Windows-only header"
#endif

namespace content {

// The window class name for a plugin window.
extern const base::char16 kNativeWindowClassName[];

// 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.
extern const base::char16 kWrapperNativeWindowClassName[];

extern const base::char16 kPluginNameAtomProperty[];
extern const base::char16 kPluginVersionAtomProperty[];
extern const base::char16 kDummyActivationWindowName[];

// The name of the custom window message that the browser uses to tell the
// plugin process to paint a window.
extern const base::char16 kPaintMessageName[];

// The name of the registry key which NPAPI plugins update on installation.
extern const base::char16 kRegistryMozillaPlugins[];

extern const base::char16 kMozillaActiveXPlugin[];
extern const base::char16 kNewWMPPlugin[];
extern const base::char16 kOldWMPPlugin[];
extern const base::char16 kYahooApplicationStatePlugin[];
extern const base::char16 kWanWangProtocolHandlerPlugin[];
extern const base::char16 kFlashPlugin[];
extern const base::char16 kAcrobatReaderPlugin[];
extern const base::char16 kRealPlayerPlugin[];
extern const base::char16 kSilverlightPlugin[];
extern const base::char16 kJavaPlugin1[];
extern const base::char16 kJavaPlugin2[];

extern const char kGPUPluginMimeType[];

extern const base::char16 kPluginDummyParentProperty[];

}  // namespace content

#endif  // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_