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

Unified Diff: webkit/plugins/npapi/plugin_host.cc

Issue 7812020: Moved the following IPC messages used by the chrome NPAPI plugin installer out of content (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | webkit/plugins/npapi/webplugin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_host.cc
===================================================================
--- webkit/plugins/npapi/plugin_host.cc (revision 98657)
+++ webkit/plugins/npapi/plugin_host.cc (working copy)
@@ -781,28 +781,6 @@
rv = NPERR_NO_ERROR;
break;
}
- case webkit::npapi::default_plugin::kMissingPluginStatusStart +
- webkit::npapi::default_plugin::MISSING_PLUGIN_AVAILABLE:
- // fall through
- case webkit::npapi::default_plugin::kMissingPluginStatusStart +
- webkit::npapi::default_plugin::MISSING_PLUGIN_USER_STARTED_DOWNLOAD: {
- // This is a hack for the default plugin to send notification to
- // renderer. Even though we check if the plugin is the default plugin,
- // we still need to worry about future standard change that may conflict
- // with the variable definition, in order to avoid duplicate case clauses
- // in this big switch statement.
- scoped_refptr<PluginInstance> plugin(FindInstance(id));
- if (!plugin.get()) {
- NOTREACHED();
- return NPERR_INVALID_INSTANCE_ERROR;
- }
- if (plugin->plugin_lib()->plugin_info().path.value() ==
- webkit::npapi::kDefaultPluginLibraryName) {
- plugin->webplugin()->OnMissingPluginStatus(variable -
- webkit::npapi::default_plugin::kMissingPluginStatusStart);
- }
- break;
- }
#if defined(OS_MACOSX)
case NPNVpluginDrawingModel: {
// return the drawing model that was negotiated when we initialized.
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | webkit/plugins/npapi/webplugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698