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 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 char16 kWrapperNativeWindowClassName[]; 23 24 extern const char16 kPluginNameAtomProperty[]; 25 extern const char16 kPluginVersionAtomProperty[]; 26 extern const char16 kDummyActivationWindowName[]; 27 28 // The name of the custom window message that the browser uses to tell the 29 // plugin process to paint a window. 30 extern const char16 kPaintMessageName[]; 31 32 // The name of the registry key which NPAPI plugins update on installation. 33 extern const char16 kRegistryMozillaPlugins[]; 34 35 extern const char16 kMozillaActiveXPlugin[]; 36 extern const char16 kNewWMPPlugin[]; 37 extern const char16 kOldWMPPlugin[]; 38 extern const char16 kYahooApplicationStatePlugin[]; 39 extern const char16 kWanWangProtocolHandlerPlugin[]; 40 extern const char16 kFlashPlugin[]; 41 extern const char16 kAcrobatReaderPlugin[]; 42 extern const char16 kRealPlayerPlugin[]; 43 extern const char16 kSilverlightPlugin[]; 44 extern const char16 kJavaPlugin1[]; 45 extern const char16 kJavaPlugin2[]; 46 47 extern const char kGPUPluginMimeType[]; 48 49 extern const char16 kPluginDummyParentProperty[]; 50 51 } // namespace content 52 53 #endif // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_ 54