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

Issue 6261015: Keep visibility state in sync between the native window and view (Closed)

Created:
9 years, 11 months ago by asanka (google)
Modified:
9 years, 7 months ago
Reviewers:
zel, sky
CC:
chromium-reviews, cbentzel
Visibility:
Public.

Description

Keep visibility state in sync between the native window and view Native ConstrainedWindows are invisible upon creation on Windows. Mark the associated NonClientView as hidden to keep the visibility state in sync. BUG=69673 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71999

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add comments describing why we are setting visibility. #

Patch Set 3 : Rebased #

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

Messages

Total messages: 6 (0 generated)
asanka (google)
For review. zel: Added for revision 36415.
9 years, 11 months ago (2011-01-19 18:41:36 UTC) #1
cbentzel
On 2011/01/19 18:41:36, asanka (google) wrote: > For review. > > zel: Added for revision ...
9 years, 11 months ago (2011-01-19 20:56:52 UTC) #2
zel
LGTM but it's been a while since I touched windows views, sky@ might be a ...
9 years, 11 months ago (2011-01-19 21:28:53 UTC) #3
sky
http://codereview.chromium.org/6261015/diff/1/chrome/browser/ui/views/constrained_window_win.cc File chrome/browser/ui/views/constrained_window_win.cc (right): http://codereview.chromium.org/6261015/diff/1/chrome/browser/ui/views/constrained_window_win.cc#newcode574 chrome/browser/ui/views/constrained_window_win.cc:574: GetNonClientView()->SetVisible(true); Add a comment as to why this is ...
9 years, 11 months ago (2011-01-19 21:36:51 UTC) #4
asanka (google)
Thanks for the reviews. I've added comments explaining why it's necessary to set visibility. http://codereview.chromium.org/6261015/diff/1/chrome/browser/ui/views/constrained_window_win.cc ...
9 years, 11 months ago (2011-01-20 14:49:17 UTC) #5
sky
9 years, 11 months ago (2011-01-20 16:58:34 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698