Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Issue 2511263003: [HBD] Fix the misleading no-fallback placeholder message in BLOCK mode. (Closed)

Created:
4 years, 1 month ago by tommycli
Modified:
4 years ago
CC:
chromium-reviews, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[HBD] Fix the misleading no-fallback placeholder message in BLOCK mode. Previously, if the user had the BLOCK Content Setting (either from Policy or just from user setting), the no-fallback placeholder for HTML5 By Default would still say "Click to enable Flash". This was misleading because that would not work. This updates the BLOCK no-fallback placeholder to say "Flash is blocked" and "Flash is blocked by enterprise policy" (if blocked by policy). BUG=666774 Committed: https://crrev.com/e97656b8c9bb4fb2456673f4cd3d8eeb93a65bb8 Cr-Commit-Position: refs/heads/master@{#435289}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add test (and rebase) #

Patch Set 3 : merge #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -18 lines) Patch
M chrome/app/generated_resources.grd View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.h View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 1 6 chunks +30 lines, -15 lines 2 comments Download
M chrome/browser/plugins/plugin_info_message_filter_unittest.cc View 1 5 chunks +53 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (24 generated)
tommycli
georgesak: PTAL, I have manually tested and it seems to fix the issue.
4 years, 1 month ago (2016-11-18 21:56:16 UTC) #4
tommycli
bauerb: PTAL chrome/browser/plugins thanks!
4 years, 1 month ago (2016-11-18 22:18:02 UTC) #6
Bernhard Bauer
lgtm
4 years, 1 month ago (2016-11-21 11:58:52 UTC) #9
tommycli
thakis/dcheng: PTAL thakis: chrome/browser/plugins/plugin_info_message_filter.cc chrome/renderer/chrome_content_renderer_client.cc dcheng: chrome/common/render_messages.h
4 years, 1 month ago (2016-11-22 17:04:53 UTC) #11
Georges Khalil
On 2016/11/22 17:04:53, tommycli wrote: > thakis/dcheng: PTAL > > thakis: > chrome/browser/plugins/plugin_info_message_filter.cc > chrome/renderer/chrome_content_renderer_client.cc ...
4 years, 1 month ago (2016-11-22 18:26:50 UTC) #12
dcheng
ipc lgtm
4 years, 1 month ago (2016-11-22 18:30:02 UTC) #13
tommycli
thakis: PTAL, thanks!
4 years ago (2016-11-23 19:20:34 UTC) #14
Nico
lgtm stamp, but: no test, and nobody asked for one? :-( https://codereview.chromium.org/2511263003/diff/1/chrome/common/render_messages.h File chrome/common/render_messages.h (right): ...
4 years ago (2016-11-24 00:40:37 UTC) #19
tommycli
Thanks! I added a test in the last patchset. It required re-jiggering some interfaces with ...
4 years ago (2016-11-28 20:21:26 UTC) #21
tommycli
thakis OR bauerb: Do you guys mind checking the interface changes for PluginInfoMessageFilter introduced in ...
4 years ago (2016-11-28 20:22:42 UTC) #23
Nico
still lgtm, thanks for the test https://codereview.chromium.org/2511263003/diff/60001/chrome/browser/plugins/plugin_info_message_filter.cc File chrome/browser/plugins/plugin_info_message_filter.cc (right): https://codereview.chromium.org/2511263003/diff/60001/chrome/browser/plugins/plugin_info_message_filter.cc#newcode472 chrome/browser/plugins/plugin_info_message_filter.cc:472: enabled = true; ...
4 years ago (2016-11-29 16:46:57 UTC) #31
tommycli
thakis: No problem. This did indeed deserve a test. https://codereview.chromium.org/2511263003/diff/60001/chrome/browser/plugins/plugin_info_message_filter.cc File chrome/browser/plugins/plugin_info_message_filter.cc (right): https://codereview.chromium.org/2511263003/diff/60001/chrome/browser/plugins/plugin_info_message_filter.cc#newcode472 chrome/browser/plugins/plugin_info_message_filter.cc:472: ...
4 years ago (2016-11-30 15:40:13 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2511263003/60001
4 years ago (2016-11-30 15:40:44 UTC) #35
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years ago (2016-11-30 16:43:35 UTC) #37
commit-bot: I haz the power
4 years ago (2016-11-30 16:47:39 UTC) #39
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e97656b8c9bb4fb2456673f4cd3d8eeb93a65bb8
Cr-Commit-Position: refs/heads/master@{#435289}

Powered by Google App Engine
This is Rietveld 408576698