• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
6 #define CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
7 
8 #include "base/strings/string16.h"
9 
10 #if !defined(OS_WIN)
11 #error "Windows-only header"
12 #endif
13 
14 namespace content {
15 
16 // The window class name for a plugin window.
17 extern const base::char16 kNativeWindowClassName[];
18 
19 // The name of the window class name for the wrapper HWND around the actual
20 // plugin window that's used when running in multi-process mode.  This window
21 // is created on the browser UI thread.
22 extern const base::char16 kWrapperNativeWindowClassName[];
23 
24 extern const base::char16 kDummyActivationWindowName[];
25 
26 // The name of the custom window message that the browser uses to tell the
27 // plugin process to paint a window.
28 extern const base::char16 kPaintMessageName[];
29 
30 // The name of the registry key which NPAPI plugins update on installation.
31 extern const base::char16 kRegistryMozillaPlugins[];
32 
33 extern const base::char16 kMozillaActiveXPlugin[];
34 extern const base::char16 kNewWMPPlugin[];
35 extern const base::char16 kOldWMPPlugin[];
36 extern const base::char16 kYahooApplicationStatePlugin[];
37 extern const base::char16 kWanWangProtocolHandlerPlugin[];
38 extern const base::char16 kFlashPlugin[];
39 extern const base::char16 kAcrobatReaderPlugin[];
40 extern const base::char16 kRealPlayerPlugin[];
41 extern const base::char16 kSilverlightPlugin[];
42 extern const base::char16 kJavaPlugin1[];
43 extern const base::char16 kJavaPlugin2[];
44 
45 extern const char kGPUPluginMimeType[];
46 
47 extern const base::char16 kPluginDummyParentProperty[];
48 
49 }  // namespace content
50 
51 #endif  // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
52