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

Issue 2439793002: Harmony - Draw bubble/dialog borders just outside the content area (Closed)

Created:
4 years, 2 months ago by Evan Stade
Modified:
4 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, groby+bubble_chromium.org, rouslan+bubble_chromium.org, msw+watch_chromium.org, hcarmona+bubble_chromium.org, Peter Kasting
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Harmony - Draw bubble/dialog borders just outside the content area instead of just inside of it. As noted in code comments, this creates minor graphical bugs at scale factors greater than 1, but I don't think they can be addressed at the moment. BUG=655589, 656662 Committed: https://crrev.com/b1448a03ddd9c30a6711cb485ba0614a5e41579e Cr-Commit-Position: refs/heads/master@{#426570}

Patch Set 1 #

Patch Set 2 : self review #

Total comments: 2

Patch Set 3 : s/px/dip #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -15 lines) Patch
M ui/views/bubble/bubble_border.cc View 1 2 6 chunks +26 lines, -15 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
Evan Stade
+sky for review +pkasting for FYI --- note px/dip positioning bug. At scale=2, the bookmark ...
4 years, 2 months ago (2016-10-20 16:08:18 UTC) #2
sky
https://codereview.chromium.org/2439793002/diff/20001/ui/views/bubble/bubble_border.cc File ui/views/bubble/bubble_border.cc (right): https://codereview.chromium.org/2439793002/diff/20001/ui/views/bubble/bubble_border.cc#newcode222 ui/views/bubble/bubble_border.cc:222: const gfx::Insets border_insets = gfx::Insets(kBorderThicknessPx); I find usage of ...
4 years, 2 months ago (2016-10-20 16:23:17 UTC) #5
Evan Stade
https://codereview.chromium.org/2439793002/diff/20001/ui/views/bubble/bubble_border.cc File ui/views/bubble/bubble_border.cc (right): https://codereview.chromium.org/2439793002/diff/20001/ui/views/bubble/bubble_border.cc#newcode222 ui/views/bubble/bubble_border.cc:222: const gfx::Insets border_insets = gfx::Insets(kBorderThicknessPx); On 2016/10/20 16:23:17, sky ...
4 years, 2 months ago (2016-10-20 16:26:14 UTC) #6
sky
Not using Px, with your comment that you want it to be pixel but can't. ...
4 years, 2 months ago (2016-10-20 16:27:15 UTC) #7
Evan Stade
something like this?
4 years, 2 months ago (2016-10-20 16:36:18 UTC) #9
sky
Yes, thanks. LGTM
4 years, 2 months ago (2016-10-20 17:33:36 UTC) #11
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/2439793002/40001
4 years, 2 months ago (2016-10-20 19:42:36 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 19:52:39 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:21:35 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b1448a03ddd9c30a6711cb485ba0614a5e41579e
Cr-Commit-Position: refs/heads/master@{#426570}

Powered by Google App Engine
This is Rietveld 408576698