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 | 9 |
10 #if !defined(OS_WIN) | 10 #if !defined(OS_WIN) |
11 #error "Windows-only header" | 11 #error "Windows-only header" |
12 #endif | 12 #endif |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 // The window class name for a plugin window. | 16 // The window class name for a plugin window. |
17 extern const char16 kNativeWindowClassName[]; | 17 extern const base::char16 kNativeWindowClassName[]; |
18 | 18 |
19 // The name of the window class name for the wrapper HWND around the actual | 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 | 20 // plugin window that's used when running in multi-process mode. This window |
21 // is created on the browser UI thread. | 21 // is created on the browser UI thread. |
22 extern const char16 kWrapperNativeWindowClassName[]; | 22 extern const base::char16 kWrapperNativeWindowClassName[]; |
23 | 23 |
24 extern const char16 kPluginNameAtomProperty[]; | 24 extern const base::char16 kPluginNameAtomProperty[]; |
25 extern const char16 kPluginVersionAtomProperty[]; | 25 extern const base::char16 kPluginVersionAtomProperty[]; |
26 extern const char16 kDummyActivationWindowName[]; | 26 extern const base::char16 kDummyActivationWindowName[]; |
27 | 27 |
28 // The name of the custom window message that the browser uses to tell the | 28 // The name of the custom window message that the browser uses to tell the |
29 // plugin process to paint a window. | 29 // plugin process to paint a window. |
30 extern const char16 kPaintMessageName[]; | 30 extern const base::char16 kPaintMessageName[]; |
31 | 31 |
32 // The name of the registry key which NPAPI plugins update on installation. | 32 // The name of the registry key which NPAPI plugins update on installation. |
33 extern const char16 kRegistryMozillaPlugins[]; | 33 extern const base::char16 kRegistryMozillaPlugins[]; |
34 | 34 |
35 extern const char16 kMozillaActiveXPlugin[]; | 35 extern const base::char16 kMozillaActiveXPlugin[]; |
36 extern const char16 kNewWMPPlugin[]; | 36 extern const base::char16 kNewWMPPlugin[]; |
37 extern const char16 kOldWMPPlugin[]; | 37 extern const base::char16 kOldWMPPlugin[]; |
38 extern const char16 kYahooApplicationStatePlugin[]; | 38 extern const base::char16 kYahooApplicationStatePlugin[]; |
39 extern const char16 kWanWangProtocolHandlerPlugin[]; | 39 extern const base::char16 kWanWangProtocolHandlerPlugin[]; |
40 extern const char16 kFlashPlugin[]; | 40 extern const base::char16 kFlashPlugin[]; |
41 extern const char16 kAcrobatReaderPlugin[]; | 41 extern const base::char16 kAcrobatReaderPlugin[]; |
42 extern const char16 kRealPlayerPlugin[]; | 42 extern const base::char16 kRealPlayerPlugin[]; |
43 extern const char16 kSilverlightPlugin[]; | 43 extern const base::char16 kSilverlightPlugin[]; |
44 extern const char16 kJavaPlugin1[]; | 44 extern const base::char16 kJavaPlugin1[]; |
45 extern const char16 kJavaPlugin2[]; | 45 extern const base::char16 kJavaPlugin2[]; |
46 | 46 |
47 extern const char kGPUPluginMimeType[]; | 47 extern const char kGPUPluginMimeType[]; |
48 | 48 |
49 extern const char16 kPluginDummyParentProperty[]; | 49 extern const base::char16 kPluginDummyParentProperty[]; |
50 | 50 |
51 } // namespace content | 51 } // namespace content |
52 | 52 |
53 #endif // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_ | 53 #endif // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_ |
OLD | NEW |