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