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

Issue 777103002: Add the names of plugins to the blocked plugin bubble. (Closed)

Created:
6 years ago by Will Harris
Modified:
6 years ago
CC:
chromium-reviews, markusheintz_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add the names of plugins to the blocked plugin bubble. BUG=414399 TEST=browser_tests --gtest_filter=ChromeRenderViewTest.* TEST=unit_tests --gtest_filter=ContentSettingBubbleModelTest.Plugins Committed: https://crrev.com/303f76bcace7e8c827e21c76ed435b05beeffb69 Cr-Commit-Position: refs/heads/master@{#307570}

Patch Set 1 #

Patch Set 2 : compile fixes. also wasn't handling multiple plugins correctly. #

Patch Set 3 : restructure UI to fit multiple plugins better #

Patch Set 4 : fix tests #

Patch Set 5 : make mergeable by reusing an existing string with existing translation #

Total comments: 16

Patch Set 6 : address code review. add mac/cocoa support. #

Patch Set 7 : one more nit #

Total comments: 9

Patch Set 8 : code review comments #

Patch Set 9 : code review comments. formatting. #

Total comments: 2

Patch Set 10 : use group_name instead of plugin.name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -42 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 2 3 4 5 6 7 8 6 chunks +20 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm View 1 2 3 4 5 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -6 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/content_settings_observer.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 2 3 4 5 6 7 1 chunk +10 lines, -2 lines 0 comments Download
M chrome/renderer/content_settings_observer_browsertest.cc View 7 chunks +12 lines, -15 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
Will Harris
I've put an example of the UI in the bug.
6 years ago (2014-12-04 00:53:40 UTC) #2
Lei Zhang
Generally look ok to me, but someone from chrome/browser/ui/content_settings/OWNERS probably should take a look too. ...
6 years ago (2014-12-05 22:18:06 UTC) #4
Will Harris
PTAL +bauerb for chrome/browser/content_settings https://codereview.chromium.org/777103002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (left): https://codereview.chromium.org/777103002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.cc#oldcode701 chrome/browser/content_settings/tab_specific_content_settings.cc:701: IPC_MESSAGE_HANDLER(ChromeViewHostMsg_ContentBlocked, OnContentBlocked) On 2014/12/05 22:18:05, ...
6 years ago (2014-12-08 00:21:12 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/777103002/diff/120001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (right): https://codereview.chromium.org/777103002/diff/120001/chrome/browser/content_settings/tab_specific_content_settings.cc#newcode243 chrome/browser/content_settings/tab_specific_content_settings.cc:243: base::string16 names; There is JoinString (in base/strings/string_util.h) which does ...
6 years ago (2014-12-08 09:21:45 UTC) #7
Lei Zhang
https://codereview.chromium.org/777103002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (left): https://codereview.chromium.org/777103002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.cc#oldcode701 chrome/browser/content_settings/tab_specific_content_settings.cc:701: IPC_MESSAGE_HANDLER(ChromeViewHostMsg_ContentBlocked, OnContentBlocked) On 2014/12/08 00:21:11, Will Harris wrote: > ...
6 years ago (2014-12-08 20:08:19 UTC) #8
Will Harris
PTAL https://codereview.chromium.org/777103002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (left): https://codereview.chromium.org/777103002/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.cc#oldcode701 chrome/browser/content_settings/tab_specific_content_settings.cc:701: IPC_MESSAGE_HANDLER(ChromeViewHostMsg_ContentBlocked, OnContentBlocked) On 2014/12/08 20:08:19, Lei Zhang wrote: ...
6 years ago (2014-12-08 21:11:47 UTC) #9
Bernhard Bauer
LGTM, just one suggestion: https://codereview.chromium.org/777103002/diff/160001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/777103002/diff/160001/chrome/renderer/chrome_content_renderer_client.cc#newcode880 chrome/renderer/chrome_content_renderer_client.cc:880: observer->DidBlockContentType(content_type, plugin.name); Could you pass ...
6 years ago (2014-12-08 21:47:14 UTC) #10
Will Harris
thestig PTAL https://codereview.chromium.org/777103002/diff/160001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/777103002/diff/160001/chrome/renderer/chrome_content_renderer_client.cc#newcode880 chrome/renderer/chrome_content_renderer_client.cc:880: observer->DidBlockContentType(content_type, plugin.name); On 2014/12/08 21:47:14, Bernhard Bauer ...
6 years ago (2014-12-09 07:27:09 UTC) #11
Lei Zhang
lgtm
6 years ago (2014-12-09 20:42:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/777103002/180001
6 years ago (2014-12-09 21:22:00 UTC) #14
commit-bot: I haz the power
Committed patchset #10 (id:180001)
6 years ago (2014-12-09 22:53:15 UTC) #15
commit-bot: I haz the power
6 years ago (2014-12-09 22:54:57 UTC) #16
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/303f76bcace7e8c827e21c76ed435b05beeffb69
Cr-Commit-Position: refs/heads/master@{#307570}

Powered by Google App Engine
This is Rietveld 408576698