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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 2154773002: Implement Just-In-Time Flash updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git pull && gclient sync Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index 2f4ebe61c9e84f915ea5ff91c494ed572651d63a..11fd9c54a74b045e7ae339dc5575504e89986da3 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -861,6 +861,16 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
observer->DidBlockContentType(content_type, group_name);
break;
}
+ case ChromeViewHostMsg_GetPluginInfo_Status::kComponentUpdateRequired: {
+ placeholder = create_blocked_plugin(
+ IDR_BLOCKED_PLUGIN_HTML,
+ l10n_util::GetStringFUTF16(IDS_PLUGIN_OUTDATED, group_name));
+ placeholder->AllowLoading();
+ render_frame->Send(new ChromeViewHostMsg_BlockedComponentUpdatedPlugin(
+ render_frame->GetRoutingID(), placeholder->CreateRoutingId(),
+ identifier));
+ break;
+ }
}
}
placeholder->SetStatus(status);
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698