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

Issue 355007: Linux: Initialize |restored_bounds_| so new windows always have a proper size. (Closed)

Created:
11 years, 1 month ago by Lei Zhang
Modified:
9 years, 7 months ago
Reviewers:
Mike Mammarella
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Linux: Initialize |restored_bounds_| so new windows always have a proper size. BUG=none TEST=Resize window to 400x300, hold down ctrl+N, new windows should all be the same size. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30855

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/gtk/browser_window_gtk.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Lei Zhang
11 years, 1 month ago (2009-11-03 18:24:14 UTC) #1
Mike Mammarella
http://codereview.chromium.org/355007/diff/1/2 File chrome/browser/gtk/browser_window_gtk.cc (right): http://codereview.chromium.org/355007/diff/1/2#newcode1774 Line 1774: if (!IsFullscreen() && !IsMaximized()) What happens if the ...
11 years, 1 month ago (2009-11-03 19:28:30 UTC) #2
Lei Zhang
On 2009/11/03 19:28:30, Mike Mammarella wrote: > http://codereview.chromium.org/355007/diff/1/2 > File chrome/browser/gtk/browser_window_gtk.cc (right): > > http://codereview.chromium.org/355007/diff/1/2#newcode1774 ...
11 years, 1 month ago (2009-11-03 20:02:18 UTC) #3
Mike Mammarella
11 years, 1 month ago (2009-11-03 20:08:33 UTC) #4
On 2009/11/03 20:02:18, Lei Zhang wrote:
> It turns out that can't happen, since we don't actually maximize until we call
> Show(), and I don't think you can start off in full screen mode.

OK, LGTM then.

Powered by Google App Engine
This is Rietveld 408576698