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

Issue 180803013: Fixed incorrect frame insets for app windows on ChromeOS (Closed)

Created:
6 years, 9 months ago by tmdiep
Modified:
6 years, 9 months ago
Reviewers:
pkotwicz, benwells
CC:
chromium-reviews, tfarina, sadrul, kalyank, ben+ash_chromium.org, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fixed incorrect frame insets for app windows on ChromeOS HeaderPainter::GetWindowBoundsForClientBounds() shifts the Y coordinate of the window bounds to ensure it is not negative. This causes NativeAppWindowViews::GetFrameInsets() to compute the wrong insets. Therefore we should leave the Y coordinate of the window bounds negative in HeaderPainter::GetWindowBoundsForClientBounds(). BUG=349220 TEST=browser_tests (AppWindowBrowserTest.*) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255878

Patch Set 1 #

Patch Set 2 : Fixed bad patch upload #

Total comments: 2

Patch Set 3 : Disable tests for GTK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -8 lines) Patch
M apps/app_window_browsertest.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M ash/wm/header_painter.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
tmdiep
pkotwicz: for ash benwells: for apps Just some background on this patch for pkotwicz - ...
6 years, 9 months ago (2014-03-05 01:18:31 UTC) #1
pkotwicz
Thank you very much for the context. LGTM!
6 years, 9 months ago (2014-03-05 01:43:57 UTC) #2
pkotwicz
Actually, can you please make sure that your CL does not have any negative interactions ...
6 years, 9 months ago (2014-03-05 01:53:59 UTC) #3
pkotwicz
Still LGTM because BrowserNonClientFrameViewAsh's client bounds are the same as its non client bounds. However, ...
6 years, 9 months ago (2014-03-05 03:54:11 UTC) #4
tmdiep
On 2014/03/05 03:54:11, pkotwicz wrote: > Still LGTM because BrowserNonClientFrameViewAsh's client bounds are the same ...
6 years, 9 months ago (2014-03-05 05:28:09 UTC) #5
benwells
https://codereview.chromium.org/180803013/diff/30001/apps/app_window_browsertest.cc File apps/app_window_browsertest.cc (right): https://codereview.chromium.org/180803013/diff/30001/apps/app_window_browsertest.cc#newcode36 apps/app_window_browsertest.cc:36: #if !defined(OS_LINUX) || defined(USE_AURA) Are these just trying to ...
6 years, 9 months ago (2014-03-05 06:32:23 UTC) #6
tmdiep
https://codereview.chromium.org/180803013/diff/30001/apps/app_window_browsertest.cc File apps/app_window_browsertest.cc (right): https://codereview.chromium.org/180803013/diff/30001/apps/app_window_browsertest.cc#newcode36 apps/app_window_browsertest.cc:36: #if !defined(OS_LINUX) || defined(USE_AURA) On 2014/03/05 06:32:24, benwells wrote: ...
6 years, 9 months ago (2014-03-05 07:08:05 UTC) #7
benwells
lgtm
6 years, 9 months ago (2014-03-05 07:11:54 UTC) #8
tmdiep
On 2014/03/05 05:28:09, tmdiep wrote: > On 2014/03/05 03:54:11, pkotwicz wrote: > > Still LGTM ...
6 years, 9 months ago (2014-03-07 01:53:44 UTC) #9
pkotwicz
Yes, I am satisfied with the reasoning :)
6 years, 9 months ago (2014-03-08 00:19:33 UTC) #10
tmdiep
The CQ bit was checked by tmdiep@chromium.org
6 years, 9 months ago (2014-03-09 22:27:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/180803013/50001
6 years, 9 months ago (2014-03-09 22:27:46 UTC) #12
commit-bot: I haz the power
6 years, 9 months ago (2014-03-10 06:18:51 UTC) #13
Message was sent while issue was closed.
Change committed as 255878

Powered by Google App Engine
This is Rietveld 408576698