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 WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
9 #include "webkit/plugins/webkit_plugins_export.h" | 9 #include "webkit/plugins/webkit_plugins_export.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 webkit { | 15 namespace webkit { |
16 namespace npapi { | 16 namespace npapi { |
17 | 17 |
18 // The window class name for a plugin window. | 18 // The window class name for a plugin window. |
19 extern const char16 kNativeWindowClassName[]; | 19 extern const char16 kNativeWindowClassName[]; |
20 | 20 |
21 // If property is non-zero window reparenting must add UIPI message filters. | |
22 WEBKIT_PLUGINS_EXPORT extern const char16 kNativeWindowClassFilterProp[]; | |
23 | |
24 // The name of the window class name for the wrapper HWND around the actual | 21 // The name of the window class name for the wrapper HWND around the actual |
25 // plugin window that's used when running in multi-process mode. This window | 22 // plugin window that's used when running in multi-process mode. This window |
26 // is created on the browser UI thread. | 23 // is created on the browser UI thread. |
27 WEBKIT_PLUGINS_EXPORT extern const char16 kWrapperNativeWindowClassName[]; | 24 WEBKIT_PLUGINS_EXPORT extern const char16 kWrapperNativeWindowClassName[]; |
28 | 25 |
29 // The name of the custom window message that the browser uses to tell the | 26 // The name of the custom window message that the browser uses to tell the |
30 // plugin process to paint a window. | 27 // plugin process to paint a window. |
31 WEBKIT_PLUGINS_EXPORT extern const char16 kPaintMessageName[]; | 28 WEBKIT_PLUGINS_EXPORT extern const char16 kPaintMessageName[]; |
32 | 29 |
33 // The name of the registry key which NPAPI plugins update on installation. | 30 // The name of the registry key which NPAPI plugins update on installation. |
34 WEBKIT_PLUGINS_EXPORT extern const char16 kRegistryMozillaPlugins[]; | 31 WEBKIT_PLUGINS_EXPORT extern const char16 kRegistryMozillaPlugins[]; |
35 | 32 |
36 extern const char16 kMozillaActiveXPlugin[]; | 33 extern const char16 kMozillaActiveXPlugin[]; |
37 WEBKIT_PLUGINS_EXPORT extern const char16 kNewWMPPlugin[]; | 34 WEBKIT_PLUGINS_EXPORT extern const char16 kNewWMPPlugin[]; |
38 extern const char16 kOldWMPPlugin[]; | 35 extern const char16 kOldWMPPlugin[]; |
39 extern const char16 kYahooApplicationStatePlugin[]; | 36 extern const char16 kYahooApplicationStatePlugin[]; |
40 extern const char16 kWanWangProtocolHandlerPlugin[]; | 37 extern const char16 kWanWangProtocolHandlerPlugin[]; |
41 extern const char16 kBuiltinFlashPlugin[]; | |
42 extern const char16 kFlashPlugin[]; | 38 extern const char16 kFlashPlugin[]; |
43 extern const char16 kAcrobatReaderPlugin[]; | 39 extern const char16 kAcrobatReaderPlugin[]; |
44 extern const char16 kRealPlayerPlugin[]; | 40 extern const char16 kRealPlayerPlugin[]; |
45 extern const char16 kSilverlightPlugin[]; | 41 extern const char16 kSilverlightPlugin[]; |
46 extern const char16 kJavaPlugin1[]; | 42 extern const char16 kJavaPlugin1[]; |
47 extern const char16 kJavaPlugin2[]; | 43 extern const char16 kJavaPlugin2[]; |
48 | 44 |
49 extern const char kGPUPluginMimeType[]; | 45 extern const char kGPUPluginMimeType[]; |
50 | 46 |
51 } // namespace npapi | 47 } // namespace npapi |
52 } // namespace webkit | 48 } // namespace webkit |
53 | 49 |
54 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_PLUGIN_LIST_H_ | 50 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_PLUGIN_LIST_H_ |
OLD | NEW |