RenderText: handle center-aligned text in UpdateCachedBoundsAndOffset()
[chromium-blink-merge.git] / content / common / plugin_constants_win.h
blobd796730a697807843bbc0427131a1e2f8ca415f2
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.
5 #ifndef CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
6 #define CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
8 #include "base/strings/string16.h"
10 #if !defined(OS_WIN)
11 #error "Windows-only header"
12 #endif
14 namespace content {
16 // The window class name for a plugin window.
17 extern const base::char16 kNativeWindowClassName[];
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[];
24 extern const base::char16 kPluginNameAtomProperty[];
25 extern const base::char16 kPluginVersionAtomProperty[];
26 extern const base::char16 kDummyActivationWindowName[];
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 base::char16 kPaintMessageName[];
32 // The name of the registry key which NPAPI plugins update on installation.
33 extern const base::char16 kRegistryMozillaPlugins[];
35 extern const base::char16 kMozillaActiveXPlugin[];
36 extern const base::char16 kNewWMPPlugin[];
37 extern const base::char16 kOldWMPPlugin[];
38 extern const base::char16 kYahooApplicationStatePlugin[];
39 extern const base::char16 kWanWangProtocolHandlerPlugin[];
40 extern const base::char16 kFlashPlugin[];
41 extern const base::char16 kAcrobatReaderPlugin[];
42 extern const base::char16 kRealPlayerPlugin[];
43 extern const base::char16 kSilverlightPlugin[];
44 extern const base::char16 kJavaPlugin1[];
45 extern const base::char16 kJavaPlugin2[];
47 extern const char kGPUPluginMimeType[];
49 extern const base::char16 kPluginDummyParentProperty[];
51 } // namespace content
53 #endif // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_