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

Issue 155201: Fix: Position always off-screen when starting up... (Closed)

Created:
11 years, 5 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

Fix: Position always off-screen when starting up Fixed the offset-by-taskbar logic. Tested with dual monitors, trying left-right and up-down monitor layouts. TEST=Use dual monitors (first:left, second:right) and open, close, and reopen Chromium in the second (right) window. Without this change, the window appears far to the right from the last location. BUG=15199 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20246

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M views/window/window_win.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Yuzo
Hi, Peter, Sorry for the regression. Can you review this patch? Yuzo
11 years, 5 months ago (2009-07-08 05:35:40 UTC) #1
Peter Kasting
Code change LGTM. Is there an added test you can put in the testcases list ...
11 years, 5 months ago (2009-07-08 16:21:29 UTC) #2
Yuzo
Hi, Peter, Thank you for the review. I had tried to add a test but ...
11 years, 5 months ago (2009-07-09 00:48:21 UTC) #3
Peter Kasting
11 years, 5 months ago (2009-07-09 00:51:15 UTC) #4
On 2009/07/09 00:48:21, Yuzo wrote:
> I had tried to add a test but found that GetWindowPlacement and
> GetWindowInfo are native API calls. Adding an abstraction layer
> for testing looked a bit overkill to me. Any ideas?

Hmm.  I think I agree.  Let's just get this in w/o the test.

Powered by Google App Engine
This is Rietveld 408576698