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

Issue 7979035: Fix for black-hole. (Closed)

Created:
9 years, 3 months ago by oshima
Modified:
9 years, 3 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, dhollowa, jonathan.backer, mmocny
Visibility:
Public.

Description

Fix for black-hole on views desktop with compositor. Child widget should not be parented to desktop. This was causing tab contents for prerendering be parented to desktop. Fix for DCHECK failure in NativeWidgetViews::OnKeyEvent Child widget should not be activated. Reset non_client_view_ when new contentview is set. BUG=none TEST=updated widget_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102389

Patch Set 1 #

Patch Set 2 : fix test #

Patch Set 3 : fix more tests. reset non_client_view_ when new contentview is set. #

Patch Set 4 : fix more tests, reset non_client_view when new contentview is set #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -33 lines) Patch
M views/widget/native_widget_views.cc View 1 chunk +2 lines, -1 line 0 comments Download
M views/widget/widget.cc View 1 2 3 chunks +5 lines, -1 line 2 comments Download
M views/widget/widget_unittest.cc View 1 2 3 7 chunks +49 lines, -31 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
oshima
9 years, 3 months ago (2011-09-22 02:23:43 UTC) #1
sadrul
LGTM
9 years, 3 months ago (2011-09-22 16:37:24 UTC) #2
oshima
Scott, I had to fix tests after sadrul lgtm'ed. Can you review this?
9 years, 3 months ago (2011-09-22 22:06:15 UTC) #3
sadrul
LGTM with a note http://codereview.chromium.org/7979035/diff/13004/views/widget/widget.cc File views/widget/widget.cc (right): http://codereview.chromium.org/7979035/diff/13004/views/widget/widget.cc#newcode403 views/widget/widget.cc:403: non_client_view_ = NULL; If this ...
9 years, 3 months ago (2011-09-22 22:12:04 UTC) #4
oshima
http://codereview.chromium.org/7979035/diff/13004/views/widget/widget.cc File views/widget/widget.cc (right): http://codereview.chromium.org/7979035/diff/13004/views/widget/widget.cc#newcode403 views/widget/widget.cc:403: non_client_view_ = NULL; On 2011/09/22 22:12:04, sadrul wrote: > ...
9 years, 3 months ago (2011-09-22 22:27:05 UTC) #5
sky
9 years, 3 months ago (2011-09-22 22:35:43 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698