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

Unified Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 319553008: Updated Plugin bubble model to add "learn more" link and to appear with a sliding yellow thing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated so that the yellow thing occurs only when the content setting is set to allow Created 6 years, 6 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/browser/ui/views/content_setting_bubble_contents.cc ('k') | no next file » | 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 f3e2313a696a00493874c8ab7fc1bfde197fc016..1cef128b3b9bd1037aa9accf6a41d2cb2f0c136b 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -814,6 +814,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
render_frame->GetRoutingID(),
group_name,
identifier));
+ // Send IPC for showing content_setting_image/bubble.
+ observer->DidBlockContentType(content_type);
break;
}
case ChromeViewHostMsg_GetPluginInfo_Status::kClickToPlay: {
« no previous file with comments | « chrome/browser/ui/views/content_setting_bubble_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698