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

Issue 11087065: Clip the header of ash windows to the frame height (Closed)

Created:
8 years, 2 months ago by Bernie
Modified:
8 years ago
Reviewers:
reveman, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Clip the header of ash windows to the frame height Anything painted below the frame are becomes visible if the app enables the transparent background feature. For lack of a better way to compute the actual frame height, we clip the drawing to the height of the close button. I think ScopedCanvas would come useful here, but it's currently private to view.cc. If it seems a good idea, I could move it to canvas.h. BUG=152838 TEST=visually confirmed with patch for bug 125295 applied Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173823

Patch Set 1 #

Patch Set 2 : First try #

Patch Set 3 : Move clipping code up to BrowserNonClientFrameViewAsh #

Patch Set 4 : ClipClip frame of CustomFrameViewAsh rather than BrowserNonClientFrameViewAsh #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M ash/wm/custom_frame_view_ash.cc View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
sky
Should the clipping be in the app frame code that call into this?
8 years, 2 months ago (2012-10-17 17:31:09 UTC) #1
Bernie
On 2012/10/17 17:31:09, sky wrote: > Should the clipping be in the app frame code ...
8 years, 2 months ago (2012-10-17 23:10:03 UTC) #2
Bernie
Please take another look.
8 years, 2 months ago (2012-10-17 23:10:49 UTC) #3
sky
What case is triggering this again?
8 years, 2 months ago (2012-10-18 16:04:39 UTC) #4
Bernie
On 2012/10/18 16:04:39, sky wrote: > What case is triggering this again? When an app ...
8 years, 2 months ago (2012-10-19 15:51:43 UTC) #5
Bernie
8 years, 2 months ago (2012-10-19 15:53:23 UTC) #6
sky
Is that apps v2 or v1? Shouldn't we be doing this for v2? -Scott On ...
8 years, 2 months ago (2012-10-19 16:53:15 UTC) #7
Bernie
On 2012/10/19 16:53:15, sky wrote: > Is that apps v2 or v1? Shouldn't we be ...
8 years, 2 months ago (2012-10-19 18:15:39 UTC) #8
sky
I thought apps v2 wasn't using browser related code?
8 years, 2 months ago (2012-10-19 21:18:50 UTC) #9
Bernie
On 2012/10/19 21:18:50, sky wrote: > I thought apps v2 wasn't using browser related code? ...
8 years ago (2012-12-17 23:35:05 UTC) #10
Bernie
8 years ago (2012-12-17 23:36:47 UTC) #11
reveman
rubber stamp lgtm. handing off to sky for review.
8 years ago (2012-12-18 17:41:14 UTC) #12
reveman
On 2012/12/17 23:35:05, Bernie wrote: > On 2012/10/19 21:18:50, sky wrote: > > I thought ...
8 years ago (2012-12-18 17:42:40 UTC) #13
sky
LGTM
8 years ago (2012-12-18 20:42:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/codewiz@chromium.org/11087065/21001
8 years ago (2012-12-18 22:33:49 UTC) #15
commit-bot: I haz the power
8 years ago (2012-12-19 01:30:01 UTC) #16
Message was sent while issue was closed.
Change committed as 173823

Powered by Google App Engine
This is Rietveld 408576698