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

Issue 2169453003: Hide protocol handler icon in location bar after user is done (Closed)

Created:
4 years, 5 months ago by Evan Stade
Modified:
4 years, 5 months ago
Reviewers:
Bernhard Bauer, msw
CC:
chromium-reviews, tfarina, Matt Giuca
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide protocol handler icon in location bar after user is done interacting with it. This fixes a regression where the icon lingered after the user pressed "Done". Luckily this regression only affected the protocol handler icon and didn't change functionality (the user's choice was still respected). This also improves on the behavior of said icon by hiding it when the user dismisses the bubble via other means (e.g. clicking outside the bubble), so long as they've explicitly interacted with the bubble by changing the setting. BUG=629645 Committed: https://crrev.com/094178fd159b1c26e82e7a5fa7f33f28aec10dd1 Cr-Commit-Position: refs/heads/master@{#406857}

Patch Set 1 #

Total comments: 9

Patch Set 2 : remove old fwd decl #

Patch Set 3 : also remove header include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -25 lines) Patch
M chrome/browser/ui/content_settings/content_setting_bubble_model.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 4 chunks +20 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.h View 1 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 5 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
Evan Stade
4 years, 5 months ago (2016-07-20 18:00:50 UTC) #2
msw
Can you clarify how this now closes the bubble on Accept? (I don't clearly see ...
4 years, 5 months ago (2016-07-20 20:50:17 UTC) #3
Evan Stade
(code not updated yet) > Can you clarify how this now closes the bubble on ...
4 years, 5 months ago (2016-07-20 20:56:46 UTC) #4
msw
On 2016/07/20 20:56:46, Evan Stade wrote: > closing the bubble wasn't the problem, it's hiding ...
4 years, 5 months ago (2016-07-20 21:15:47 UTC) #5
Evan Stade
> Can you clarify [...] When you click "Done", i.e. Accept() is called, we call ...
4 years, 5 months ago (2016-07-20 22:11:05 UTC) #6
Evan Stade
https://codereview.chromium.org/2169453003/diff/1/chrome/browser/ui/views/content_setting_bubble_contents.h File chrome/browser/ui/views/content_setting_bubble_contents.h (right): https://codereview.chromium.org/2169453003/diff/1/chrome/browser/ui/views/content_setting_bubble_contents.h#newcode30 chrome/browser/ui/views/content_setting_bubble_contents.h:30: class LabelButton; On 2016/07/20 20:50:17, msw wrote: > nit: ...
4 years, 5 months ago (2016-07-20 22:16:17 UTC) #7
msw
lgtm
4 years, 5 months ago (2016-07-20 22:28:07 UTC) #10
Matt Giuca
Thanks for a quick fix (I didn't look over it; I have no state on ...
4 years, 5 months ago (2016-07-21 00:44:48 UTC) #14
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/2169453003/40001
4 years, 5 months ago (2016-07-21 15:25:00 UTC) #16
Evan Stade
+bauerb for content_settings ownership
4 years, 5 months ago (2016-07-21 15:25:10 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-21 15:28:17 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 15:30:10 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/094178fd159b1c26e82e7a5fa7f33f28aec10dd1
Cr-Commit-Position: refs/heads/master@{#406857}

Powered by Google App Engine
This is Rietveld 408576698