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

Issue 141039: For consistency, stop using the workarea coordinate in... (Closed)

Created:
11 years, 6 months ago by Yuzo
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

For consistency, stop using the workarea coordinate in saving/retrieving/adjusting window positions. TEST=Open Chrome windows and see if they are placed properly. TESTED=gcl try, manually BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19012

Patch Set 1 #

Total comments: 18

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -19 lines) Patch
M chrome/browser/window_sizer.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/window_sizer_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M views/window/window_win.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M views/window/window_win.cc View 1 2 3 3 chunks +29 lines, -15 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Yuzo
Hi, Peter, Can you review this? Yuzo
11 years, 6 months ago (2009-06-22 08:33:26 UTC) #1
Peter Kasting
http://codereview.chromium.org/141039/diff/1/4 File views/window/window_win.cc (right): http://codereview.chromium.org/141039/diff/1/4#newcode118 Line 118: void WindowWin::GetWindowPlacementInScreen(gfx::Rect* bounds, bool* maximized) Nit: This function ...
11 years, 6 months ago (2009-06-22 19:13:54 UTC) #2
Yuzo
Peter, Thank you for the review. I've addressed the comments. Can you take another look? ...
11 years, 6 months ago (2009-06-23 02:33:10 UTC) #3
Peter Kasting
http://codereview.chromium.org/141039/diff/2001/2004 File views/window/window_win.cc (right): http://codereview.chromium.org/141039/diff/2001/2004#newcode1292 Line 1292: Nit: No blank line here http://codereview.chromium.org/141039/diff/2001/2004#newcode1364 Line 1364: ...
11 years, 6 months ago (2009-06-23 02:40:19 UTC) #4
Yuzo
Peter, Thank you. Can you take yet another look? Yuzo http://codereview.chromium.org/141039/diff/2001/2004 File views/window/window_win.cc (right): http://codereview.chromium.org/141039/diff/2001/2004#newcode1292 ...
11 years, 6 months ago (2009-06-23 03:46:05 UTC) #5
Peter Kasting
http://codereview.chromium.org/141039/diff/2007/2010 File views/window/window_win.cc (right): http://codereview.chromium.org/141039/diff/2007/2010#newcode1364 Line 1364: succeeded = !!GetWindowPlacement(GetNativeView(), &wp); You've dropped the const ...
11 years, 6 months ago (2009-06-23 03:56:36 UTC) #6
Yuzo
Peter, Can you take yet another look? Yuzo http://codereview.chromium.org/141039/diff/2007/2010 File views/window/window_win.cc (right): http://codereview.chromium.org/141039/diff/2007/2010#newcode1364 Line 1364: ...
11 years, 6 months ago (2009-06-23 04:03:51 UTC) #7
Peter Kasting
11 years, 6 months ago (2009-06-23 04:22:31 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698