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

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

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 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 | Annotate | Revision Log
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 WEBKIT_PLUGINS_NPAPI_PLUGIN_CONSTANTS_WIN_H_ 5 #ifndef CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
6 #define WEBKIT_PLUGINS_NPAPI_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 webkit { 14 namespace content {
15 namespace npapi {
16
17 // The window class name for a plugin window.
18 extern const char16 kNativeWindowClassName[];
19 15
20 // The name of the window class name for the wrapper HWND around the actual 16 // The name of the window class name for the wrapper HWND around the actual
21 // plugin window that's used when running in multi-process mode. This window 17 // plugin window that's used when running in multi-process mode. This window
22 // is created on the browser UI thread. 18 // is created on the browser UI thread.
23 extern const char16 kWrapperNativeWindowClassName[]; 19 extern const char16 kWrapperNativeWindowClassName[];
24 20
25 // The name of the custom window message that the browser uses to tell the 21 // The name of the custom window message that the browser uses to tell the
26 // plugin process to paint a window. 22 // plugin process to paint a window.
27 extern const char16 kPaintMessageName[]; 23 extern const char16 kPaintMessageName[];
28 24
29 // The name of the registry key which NPAPI plugins update on installation. 25 // The name of the registry key which NPAPI plugins update on installation.
30 extern const char16 kRegistryMozillaPlugins[]; 26 extern const char16 kRegistryMozillaPlugins[];
31 27
32 extern const char16 kMozillaActiveXPlugin[]; 28 extern const char16 kMozillaActiveXPlugin[];
33 extern const char16 kNewWMPPlugin[]; 29 extern const char16 kNewWMPPlugin[];
34 extern const char16 kOldWMPPlugin[]; 30 extern const char16 kOldWMPPlugin[];
35 extern const char16 kYahooApplicationStatePlugin[]; 31 extern const char16 kYahooApplicationStatePlugin[];
36 extern const char16 kWanWangProtocolHandlerPlugin[]; 32 extern const char16 kWanWangProtocolHandlerPlugin[];
37 extern const char16 kFlashPlugin[]; 33 extern const char16 kFlashPlugin[];
38 extern const char16 kAcrobatReaderPlugin[]; 34 extern const char16 kAcrobatReaderPlugin[];
39 extern const char16 kRealPlayerPlugin[]; 35 extern const char16 kRealPlayerPlugin[];
40 extern const char16 kSilverlightPlugin[]; 36 extern const char16 kSilverlightPlugin[];
41 extern const char16 kJavaPlugin1[]; 37 extern const char16 kJavaPlugin1[];
42 extern const char16 kJavaPlugin2[]; 38 extern const char16 kJavaPlugin2[];
43 39
44 extern const char kGPUPluginMimeType[]; 40 extern const char kGPUPluginMimeType[];
45 41
46 } // namespace npapi 42 } // namespace content
47 } // namespace webkit
48 43
49 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_PLUGIN_LIST_H_ 44 #endif // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698