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

Issue 405323002: [Win Aero] Correctly set the minimum window size. (Closed)

Created:
6 years, 5 months ago by jackhou1
Modified:
6 years, 4 months ago
Reviewers:
benwells1, benwells
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

[Win Aero] Correctly set the minimum window size. This also fixes the value of [inner|outer]Bounds.[width|height] to account for the border added by AppWindowDesktopWindowTreeHostWin::GetClientAreaInsets BUG=394567, 395929 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289257

Patch Set 1 #

Total comments: 2

Patch Set 2 : Merge bounds fix from https://codereview.chromium.org/410593002/ #

Patch Set 3 : Add a test for the off-by-one bug. #

Patch Set 4 : Add test. Set client insets back to zero. #

Patch Set 5 : Add outer bounds test. Actually fix this. #

Total comments: 8

Patch Set 6 : Test for each frame type. #

Patch Set 7 : No need for FRIEND_TEST. #

Patch Set 8 : Sync and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -3 lines) Patch
M chrome/browser/apps/app_window_interactive_uitest.cc View 1 2 3 4 5 3 chunks +91 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/apps/app_window_desktop_window_tree_host_win.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
A + chrome/test/data/extensions/platform_apps/outer_bounds/main.html View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/outer_bounds/manifest.json View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/platform_apps/outer_bounds/test.js View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/window_api_interactive/test.js View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jackhou1
6 years, 5 months ago (2014-07-22 00:52:35 UTC) #1
benwells1
https://codereview.chromium.org/405323002/diff/1/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc File chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc (right): https://codereview.chromium.org/405323002/diff/1/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc#newcode119 chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc:119: height() - client_bounds.height()); This looks right. Are there tests ...
6 years, 5 months ago (2014-07-22 05:37:52 UTC) #2
jackhou1
https://codereview.chromium.org/405323002/diff/1/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc File chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc (right): https://codereview.chromium.org/405323002/diff/1/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc#newcode119 chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc:119: height() - client_bounds.height()); On 2014/07/22 05:37:52, benwells1 wrote: > ...
6 years, 5 months ago (2014-07-23 03:36:04 UTC) #3
benwells
On 2014/07/23 03:36:04, jackhou1 wrote: > https://codereview.chromium.org/405323002/diff/1/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc > File chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc (right): > > https://codereview.chromium.org/405323002/diff/1/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc#newcode119 > ...
6 years, 5 months ago (2014-07-23 08:08:39 UTC) #4
jackhou1
On 2014/07/23 08:08:39, benwells wrote: > On 2014/07/23 03:36:04, jackhou1 wrote: > > > https://codereview.chromium.org/405323002/diff/1/chrome/browser/ui/views/apps/glass_app_window_frame_view_win.cc ...
6 years, 5 months ago (2014-07-24 01:25:14 UTC) #5
benwells
On 2014/07/24 01:25:14, jackhou1 wrote: > On 2014/07/23 08:08:39, benwells wrote: > > On 2014/07/23 ...
6 years, 4 months ago (2014-08-05 22:23:42 UTC) #6
jackhou1
On 2014/08/05 22:23:42, benwells wrote: > On 2014/07/24 01:25:14, jackhou1 wrote: > > On 2014/07/23 ...
6 years, 4 months ago (2014-08-06 01:24:13 UTC) #7
jackhou1
This is ready for review now.
6 years, 4 months ago (2014-08-11 04:19:20 UTC) #8
benwells
https://codereview.chromium.org/405323002/diff/80001/chrome/browser/apps/app_window_interactive_uitest.cc File chrome/browser/apps/app_window_interactive_uitest.cc (right): https://codereview.chromium.org/405323002/diff/80001/chrome/browser/apps/app_window_interactive_uitest.cc#newcode343 chrome/browser/apps/app_window_interactive_uitest.cc:343: ExtensionTestMessageListener launched_listener("Launched", true); Nit: You don't need this listener. ...
6 years, 4 months ago (2014-08-12 03:51:41 UTC) #9
jackhou1
https://codereview.chromium.org/405323002/diff/80001/chrome/browser/apps/app_window_interactive_uitest.cc File chrome/browser/apps/app_window_interactive_uitest.cc (right): https://codereview.chromium.org/405323002/diff/80001/chrome/browser/apps/app_window_interactive_uitest.cc#newcode343 chrome/browser/apps/app_window_interactive_uitest.cc:343: ExtensionTestMessageListener launched_listener("Launched", true); On 2014/08/12 03:51:40, benwells wrote: > ...
6 years, 4 months ago (2014-08-12 06:12:08 UTC) #10
benwells
lgtm
6 years, 4 months ago (2014-08-13 05:54:50 UTC) #11
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 4 months ago (2014-08-13 05:59:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/405323002/140001
6 years, 4 months ago (2014-08-13 06:01:05 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 10:25:15 UTC) #14
Message was sent while issue was closed.
Change committed as 289257

Powered by Google App Engine
This is Rietveld 408576698