summaryrefslogtreecommitdiffstats
path: root/content/common/plugin_constants_win.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-19 01:13:47 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-19 01:13:47 +0000
commit29e2fb456d3bf933168cf24bccaf05b1bea862fc (patch)
tree43eacb9a2201da4c6eaaa658facf35f9addd2a5b /content/common/plugin_constants_win.h
parent83aa2eda2999b74dab6cb22d677acaaefa044da7 (diff)
downloadchromium_src-29e2fb456d3bf933168cf24bccaf05b1bea862fc.zip
chromium_src-29e2fb456d3bf933168cf24bccaf05b1bea862fc.tar.gz
chromium_src-29e2fb456d3bf933168cf24bccaf05b1bea862fc.tar.bz2
Move NPAPI implementation out of webkit/plugins/npapi and into content.
Notes: -gtk_plugin_container_manager* and gtk_plugin_container* move to content/browser/renderer_host/ since that's all where they're used -plugin_list* and plugin_constants_win* move to content/common as they're used by child processes and the browser -webplugin_impl* and webplugin_page_delegate.h move to content/renderer as that's where they're used. I will remove webplugin_page_delegate.h in a followup change as it's no longer needed. -the rest moves to content/child/npapi -a few constants moved from plugin_constants_win.h to plugin_util.h temporarily BUG=237249 TBR=scottmg Review URL: https://codereview.chromium.org/19761007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/plugin_constants_win.h')
-rw-r--r--content/common/plugin_constants_win.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/content/common/plugin_constants_win.h b/content/common/plugin_constants_win.h
new file mode 100644
index 0000000..8903fe3
--- /dev/null
+++ b/content/common/plugin_constants_win.h
@@ -0,0 +1,44 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
+#define CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_
+
+#include "base/strings/string16.h"
+
+#if !defined(OS_WIN)
+#error "Windows-only header"
+#endif
+
+namespace content {
+
+// The name of the window class name for the wrapper HWND around the actual
+// plugin window that's used when running in multi-process mode. This window
+// is created on the browser UI thread.
+extern const char16 kWrapperNativeWindowClassName[];
+
+// The name of the custom window message that the browser uses to tell the
+// plugin process to paint a window.
+extern const char16 kPaintMessageName[];
+
+// The name of the registry key which NPAPI plugins update on installation.
+extern const char16 kRegistryMozillaPlugins[];
+
+extern const char16 kMozillaActiveXPlugin[];
+extern const char16 kNewWMPPlugin[];
+extern const char16 kOldWMPPlugin[];
+extern const char16 kYahooApplicationStatePlugin[];
+extern const char16 kWanWangProtocolHandlerPlugin[];
+extern const char16 kFlashPlugin[];
+extern const char16 kAcrobatReaderPlugin[];
+extern const char16 kRealPlayerPlugin[];
+extern const char16 kSilverlightPlugin[];
+extern const char16 kJavaPlugin1[];
+extern const char16 kJavaPlugin2[];
+
+extern const char kGPUPluginMimeType[];
+
+} // namespace content
+
+#endif // CONTENT_COMMON_PLUGIN_CONSTANTS_WIN_H_