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

Issue 1773393002: Address some bubble clipping issues (Closed)

Created:
4 years, 9 months ago by Evan Stade
Modified:
4 years, 9 months ago
Reviewers:
tapted, sky, msw
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

Allow NonClientFrameView to define a clip for the client view. This fixes the website settings bubble. Also draw the border on top in BubbleFrameView. This fixes the bookmark bubble sync promo. This patch does not address client views with layers, such as ExtensionPopup. BUG=581600 Committed: https://crrev.com/9c5853b50cb270fabac8533c2c6844fd83f00158 Cr-Commit-Position: refs/heads/master@{#382895}

Patch Set 1 #

Patch Set 2 : draw border last #

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : ClipRect #

Total comments: 2

Patch Set 5 : add comment #

Patch Set 6 : no aa #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -24 lines) Patch
M ui/app_list/views/search_result_page_view.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M ui/gfx/path.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 4 5 5 chunks +28 lines, -4 lines 0 comments Download
M ui/views/view.h View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M ui/views/view.cc View 1 2 3 4 5 1 chunk +11 lines, -10 lines 0 comments Download
M ui/views/window/non_client_view.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M ui/views/window/non_client_view.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
Evan Stade
4 years, 9 months ago (2016-03-09 04:21:41 UTC) #2
Evan Stade
hold on, for some reason this doesn't work on the bottom left of the bookmark ...
4 years, 9 months ago (2016-03-09 04:25:05 UTC) #3
tapted
On 2016/03/09 04:25:05, Evan Stade wrote: > hold on, for some reason this doesn't work ...
4 years, 9 months ago (2016-03-09 04:32:35 UTC) #4
Evan Stade
On 2016/03/09 04:32:35, tapted wrote: > On 2016/03/09 04:25:05, Evan Stade wrote: > > hold ...
4 years, 9 months ago (2016-03-09 05:07:32 UTC) #5
Evan Stade
updated, wdyt?
4 years, 9 months ago (2016-03-22 03:24:20 UTC) #7
tapted
a couple of questions, but it looks pretty neat! don't wait for me before looping ...
4 years, 9 months ago (2016-03-22 07:38:04 UTC) #8
Evan Stade
+sky, msw, thoughts? https://codereview.chromium.org/1773393002/diff/40001/ui/views/view.cc File ui/views/view.cc (right): https://codereview.chromium.org/1773393002/diff/40001/ui/views/view.cc#newcode815 ui/views/view.cc:815: clip_recorder.ClipPathWithAntiAliasing(clip_path_in_parent); On 2016/03/22 07:38:04, tapted wrote: ...
4 years, 9 months ago (2016-03-22 17:59:58 UTC) #10
sky
I'm fine with what you have here. LGTM
4 years, 9 months ago (2016-03-22 18:09:40 UTC) #11
msw
I'm okay with this if Scott approves; just one minor nit. https://codereview.chromium.org/1773393002/diff/60001/ui/views/bubble/bubble_frame_view.cc File ui/views/bubble/bubble_frame_view.cc (right): ...
4 years, 9 months ago (2016-03-22 18:42:45 UTC) #12
Evan Stade
I discovered/remembered path AA wasn't necessary if I inset the path by 0.5f. (You can ...
4 years, 9 months ago (2016-03-22 20:00:45 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773393002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773393002/100001
4 years, 9 months ago (2016-03-22 20:01:36 UTC) #15
tapted
lgtm
4 years, 9 months ago (2016-03-22 20:20:05 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-22 21:12:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773393002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773393002/100001
4 years, 9 months ago (2016-03-23 18:59:10 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-23 19:07:22 UTC) #23
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 19:09:05 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9c5853b50cb270fabac8533c2c6844fd83f00158
Cr-Commit-Position: refs/heads/master@{#382895}

Powered by Google App Engine
This is Rietveld 408576698