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

Unified Diff: webkit/plugins/plugin_constants.cc

Issue 7790013: Clean up plugin constants (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« webkit/plugins/plugin_constants.h ('K') | « webkit/plugins/plugin_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/plugin_constants.cc
===================================================================
--- webkit/plugins/plugin_constants.cc (revision 0)
+++ webkit/plugins/plugin_constants.cc (revision 0)
@@ -0,0 +1,33 @@
+// 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.
+
+#include "webkit/plugins/plugin_constants.h"
+
+const char kFlashPluginName[] = "Shockwave Flash";
+const char kFlashPluginSwfMimeType[] = "application/x-shockwave-flash";
+const char kFlashPluginSwfExtension[] = "swf";
+const char kFlashPluginSwfDescription[] = "Shockwave Flash";
+const char kFlashPluginSplMimeType[] = "application/futuresplash";
+const char kFlashPluginSplExtension[] = "spl";
+const char kFlashPluginSplDescription[] = "FutureSplash Player";
+
+const char kPDFPluginName[] = "Chrome PDF Viewer";
+const char kPDFPluginMimeType[] = "application/pdf";
+const char kPDFPluginExtension[] = "pdf";
+const char kPDFPluginDescription[] = "Portable Document Format";
+const char kPDFPluginPrintPreviewMimeType[] =
+ "application/x-google-chrome-print-preview-pdf";
+
+const char kNaClPluginName[] = "Native Client";
+const char kNaClPluginMimeType[] = "application/x-nacl";
+const char kNaClPluginExtension[] = "nexe";
+const char kNaClPluginDescription[] = "Native Client Executable";
+const char kNaClOldPluginName[] = "Chrome NaCl";
+
+// TODO(wez): Remove the old MIME-type once client code no longer needs it.
+const char kRemotingViewerPluginName[] = "Remoting Viewer";
+const char kRemotingViewerPluginMimeType[] =
+ "application/vnd.chromium.remoting-viewer";
+const char kRemotingViewerPluginOldMimeType[] =
+ "pepper-application/x-chromoting";
Property changes on: webkit\plugins\plugin_constants.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« webkit/plugins/plugin_constants.h ('K') | « webkit/plugins/plugin_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698