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

Issue 10986003: Fixed problem with disappearing window controls for applications when maximizing / minimizing / max… (Closed)

Created:
8 years, 3 months ago by Mr4D (OOO till 08-26)
Modified:
8 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Fixed problem with disappearing window controls for applications when maximizing / minimizing / maximizing BUG=151632 TEST=unit test to see that the locations of the controls are always at the right side of the screen Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158692 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158751

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed #

Total comments: 12

Patch Set 3 : Addressed #

Patch Set 4 : Fixed build breakage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -7 lines) Patch
M chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc View 1 2 3 2 chunks +51 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_aura.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Mr4D (OOO till 08-26)
As discussed. Please have a look!
8 years, 3 months ago (2012-09-24 21:01:45 UTC) #1
sky
http://codereview.chromium.org/10986003/diff/1/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc File chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc (right): http://codereview.chromium.org/10986003/diff/1/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc#newcode257 chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc:257: gfx::Point location(bounds.width() - preferred.width(), 0); control_widget_ is a child ...
8 years, 3 months ago (2012-09-24 21:24:16 UTC) #2
Mr4D (OOO till 08-26)
No change done - see comment. http://codereview.chromium.org/10986003/diff/1/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc File chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc (right): http://codereview.chromium.org/10986003/diff/1/chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc#newcode257 chrome/browser/ui/views/frame/app_non_client_frame_view_aura.cc:257: gfx::Point location(bounds.width() - ...
8 years, 2 months ago (2012-09-25 14:23:50 UTC) #3
sky
My suggested change didn't work because of another bug. BrowserFrameAura::WindowPropertyWatcher::OnWindowPropertyChanged needs to pass true to ...
8 years, 2 months ago (2012-09-25 16:58:34 UTC) #4
Mr4D (OOO till 08-26)
Hmm... Well - that is the other route: Force a OnBoundsChanged event to trigger. Works ...
8 years, 2 months ago (2012-09-25 18:04:02 UTC) #5
sky
http://codereview.chromium.org/10986003/diff/1003/chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc File chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc (right): http://codereview.chromium.org/10986003/diff/1003/chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc#newcode148 chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc:148: EXPECT_TRUE(window); ASSERT_TRUE. Use expect if a failure won't be ...
8 years, 2 months ago (2012-09-25 18:39:49 UTC) #6
Mr4D (OOO till 08-26)
Please have another look! http://codereview.chromium.org/10986003/diff/1003/chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc File chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc (right): http://codereview.chromium.org/10986003/diff/1003/chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc#newcode148 chrome/browser/ui/views/frame/app_non_client_frame_view_aura_browsertest.cc:148: EXPECT_TRUE(window); Ah! Didn't know and ...
8 years, 2 months ago (2012-09-25 20:30:34 UTC) #7
sky
LGTM
8 years, 2 months ago (2012-09-25 21:42:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10986003/7002
8 years, 2 months ago (2012-09-25 21:43:59 UTC) #9
commit-bot: I haz the power
Change committed as 158692
8 years, 2 months ago (2012-09-25 23:51:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/10986003/12004
8 years, 2 months ago (2012-09-26 01:50:53 UTC) #11
commit-bot: I haz the power
8 years, 2 months ago (2012-09-26 05:17:12 UTC) #12
Change committed as 158751

Powered by Google App Engine
This is Rietveld 408576698