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

Issue 1849703004: Handle bubble title resizing (growth) by reworking title layout (Closed)

Created:
4 years, 8 months ago by Evan Stade
Modified:
4 years, 8 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina, msw+watch_chromium.org, groby+bubble_chromium.org, hcarmona+bubble_chromium.org, rouslan+bubble_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle bubble title resizing (growth) by reworking title layout The easiest way to demonstrate the bug is to shrink the browser window horizontally until the title starts to wrap, then drag it larger again. Without this patch, the title doesn't unwrap. I also noticed that one of the labels was jiggling in the collected cookies view during resize; left-aligning the text fixes that. BUG=598985 TBR=sky@chromium.org Committed: https://crrev.com/63302b696824ab46a212de5bc1a1cf80b678a88a Cr-Commit-Position: refs/heads/master@{#384722}

Patch Set 1 #

Patch Set 2 : dbg code for showing a bubble with an icon #

Patch Set 3 : tweaks #

Total comments: 11

Patch Set 4 : msw feedback #

Patch Set 5 : split out #

Patch Set 6 : invisible title #

Patch Set 7 : one more change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -29 lines) Patch
M chrome/browser/ui/views/collected_cookies_views.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 4 5 6 4 chunks +21 lines, -28 lines 0 comments Download
M ui/views/window/dialog_delegate_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 40 (19 generated)
Evan Stade
4 years, 8 months ago (2016-03-31 18:55:23 UTC) #6
msw
https://codereview.chromium.org/1849703004/diff/40001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (left): https://codereview.chromium.org/1849703004/diff/40001/chrome/browser/ui/views/global_error_bubble_view.cc#oldcode75 chrome/browser/ui/views/global_error_bubble_view.cc:75: set_margins(gfx::Insets(0, kBubblePadding, kBubblePadding, kBubblePadding)); Please add before/after screenshots; maybe ...
4 years, 8 months ago (2016-03-31 19:18:31 UTC) #7
Evan Stade
https://codereview.chromium.org/1849703004/diff/40001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (left): https://codereview.chromium.org/1849703004/diff/40001/chrome/browser/ui/views/global_error_bubble_view.cc#oldcode75 chrome/browser/ui/views/global_error_bubble_view.cc:75: set_margins(gfx::Insets(0, kBubblePadding, kBubblePadding, kBubblePadding)); On 2016/03/31 19:18:30, msw wrote: ...
4 years, 8 months ago (2016-03-31 21:26:13 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849703004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849703004/80001
4 years, 8 months ago (2016-03-31 21:26:55 UTC) #11
msw
https://codereview.chromium.org/1849703004/diff/40001/ui/views/bubble/bubble_frame_view.cc File ui/views/bubble/bubble_frame_view.cc (right): https://codereview.chromium.org/1849703004/diff/40001/ui/views/bubble/bubble_frame_view.cc#newcode305 ui/views/bubble/bubble_frame_view.cc:305: if (!title_->text().empty()) { On 2016/03/31 19:18:31, msw wrote: > ...
4 years, 8 months ago (2016-03-31 21:28:27 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/189209)
4 years, 8 months ago (2016-03-31 21:34:24 UTC) #14
Evan Stade
https://codereview.chromium.org/1849703004/diff/40001/ui/views/bubble/bubble_frame_view.cc File ui/views/bubble/bubble_frame_view.cc (right): https://codereview.chromium.org/1849703004/diff/40001/ui/views/bubble/bubble_frame_view.cc#newcode305 ui/views/bubble/bubble_frame_view.cc:305: if (!title_->text().empty()) { On 2016/03/31 19:18:31, msw wrote: > ...
4 years, 8 months ago (2016-03-31 22:07:06 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849703004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849703004/100001
4 years, 8 months ago (2016-03-31 22:07:42 UTC) #17
msw
lgtm
4 years, 8 months ago (2016-03-31 22:27:26 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/147507)
4 years, 8 months ago (2016-03-31 22:48:43 UTC) #20
Evan Stade
A unit test caught a regression --- I had to make one more change since ...
4 years, 8 months ago (2016-04-01 17:48:55 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849703004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849703004/120001
4 years, 8 months ago (2016-04-01 17:49:22 UTC) #23
msw
still lgtm
4 years, 8 months ago (2016-04-01 17:59:25 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-01 18:52:50 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849703004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849703004/120001
4 years, 8 months ago (2016-04-01 20:12:38 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/163705)
4 years, 8 months ago (2016-04-01 20:23:57 UTC) #30
Evan Stade
tbr sky for unit test logging improvement
4 years, 8 months ago (2016-04-01 20:48:54 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849703004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849703004/120001
4 years, 8 months ago (2016-04-01 23:31:22 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-01 23:49:41 UTC) #37
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/63302b696824ab46a212de5bc1a1cf80b678a88a Cr-Commit-Position: refs/heads/master@{#384722}
4 years, 8 months ago (2016-04-01 23:51:22 UTC) #39
sky
4 years, 8 months ago (2016-04-01 23:59:57 UTC) #40
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698