Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: content/common/plugin_constants_win.h

Issue 557893003: Stop using an atom to store plugin name/version on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 base::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 base::char16 kWrapperNativeWindowClassName[]; 22 extern const base::char16 kWrapperNativeWindowClassName[];
23 23
24 extern const base::char16 kPluginNameAtomProperty[];
25 extern const base::char16 kPluginVersionAtomProperty[];
26 extern const base::char16 kDummyActivationWindowName[]; 24 extern const base::char16 kDummyActivationWindowName[];
27 25
28 // 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
29 // plugin process to paint a window. 27 // plugin process to paint a window.
30 extern const base::char16 kPaintMessageName[]; 28 extern const base::char16 kPaintMessageName[];
31 29
32 // 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.
33 extern const base::char16 kRegistryMozillaPlugins[]; 31 extern const base::char16 kRegistryMozillaPlugins[];
34 32
35 extern const base::char16 kMozillaActiveXPlugin[]; 33 extern const base::char16 kMozillaActiveXPlugin[];
36 extern const base::char16 kNewWMPPlugin[]; 34 extern const base::char16 kNewWMPPlugin[];
37 extern const base::char16 kOldWMPPlugin[]; 35 extern const base::char16 kOldWMPPlugin[];
38 extern const base::char16 kYahooApplicationStatePlugin[]; 36 extern const base::char16 kYahooApplicationStatePlugin[];
39 extern const base::char16 kWanWangProtocolHandlerPlugin[]; 37 extern const base::char16 kWanWangProtocolHandlerPlugin[];
40 extern const base::char16 kFlashPlugin[]; 38 extern const base::char16 kFlashPlugin[];
41 extern const base::char16 kAcrobatReaderPlugin[]; 39 extern const base::char16 kAcrobatReaderPlugin[];
42 extern const base::char16 kRealPlayerPlugin[]; 40 extern const base::char16 kRealPlayerPlugin[];
43 extern const base::char16 kSilverlightPlugin[]; 41 extern const base::char16 kSilverlightPlugin[];
44 extern const base::char16 kJavaPlugin1[]; 42 extern const base::char16 kJavaPlugin1[];
45 extern const base::char16 kJavaPlugin2[]; 43 extern const base::char16 kJavaPlugin2[];
46 44
47 extern const char kGPUPluginMimeType[]; 45 extern const char kGPUPluginMimeType[];
48 46
49 extern const base::char16 kPluginDummyParentProperty[]; 47 extern const base::char16 kPluginDummyParentProperty[];
50 48
51 } // namespace content 49 } // namespace content
52 50
53 #endif // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_ 51 #endif // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_win.cc ('k') | content/common/plugin_constants_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698