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

Unified Diff: webkit/tools/pepper_test_plugin/main.cpp

Issue 269087: Add a skeleton "Pepper" NPAPI plugin. This is basically a copy of the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « webkit/tools/pepper_test_plugin/README ('k') | webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/pepper_test_plugin/main.cpp
===================================================================
--- webkit/tools/pepper_test_plugin/main.cpp (revision 0)
+++ webkit/tools/pepper_test_plugin/main.cpp (working copy)
@@ -33,7 +33,6 @@
#include <stdlib.h>
#include <stdio.h>
-#include <wtf/Platform.h>
#include "PluginObject.h"
#ifdef WIN32
@@ -466,10 +465,10 @@
switch (variable) {
#if defined(OS_LINUX)
case NPPVpluginNameString:
- *((const char **)value) = "WebKit Test PlugIn";
+ *((const char **)value) = "Pepper Test PlugIn";
break;
case NPPVpluginDescriptionString:
- *((const char **)value) = "Simple Netscape plug-in that handles test content for WebKit";
+ *((const char **)value) = "Simple Pepper plug-in for manual testing.";
break;
case NPPVpluginNeedsXEmbed:
*((NPBool *)value) = TRUE;
@@ -509,7 +508,6 @@
// greater than the number of plugins. This isn't true if we're
// the only plugin and we only handle one mimetype, so specify
// multiple mimetypes here.
- return "application/x-webkit-test-netscape:testnetscape:test netscape content;"
- "application/x-webkit-test-netscape2:testnetscape2:test netscape content2";
+ return "pepper-application/x-pepper-test-plugin pepper test;";
}
#endif
« no previous file with comments | « webkit/tools/pepper_test_plugin/README ('k') | webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698