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

Issue 1978163003: Restore enabled state if a "modal" window is destroyed by an owner (Closed)

Created:
4 years, 7 months ago by kylix_rd
Modified:
4 years, 7 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, tfarina, jschuh
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

If the window handle is destroyed because of an owner being destroyed, ensure any disabled windows are enabled. BUG=612117 Committed: https://crrev.com/3972b0ed7c8531f67f7e796fa6f939a70f2694f9 Cr-Commit-Position: refs/heads/master@{#394861}

Patch Set 1 #

Patch Set 2 : Added unit test to ensure windows are re-enabled after an owner dialog/popup is destroyed #

Total comments: 10

Patch Set 3 : Updates based on feedback. #

Total comments: 2

Patch Set 4 : nit removal in preparation to land change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -1 line) Patch
M ui/views/widget/widget_unittest.cc View 1 2 3 1 chunk +94 lines, -0 lines 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 27 (7 generated)
kylix_rd
This patch specifically fixes the issue from the referenced bug. The problem is that Windows ...
4 years, 7 months ago (2016-05-16 22:48:01 UTC) #3
kylix_rd
On 2016/05/16 22:48:01, kylix_rd wrote: > This patch specifically fixes the issue from the referenced ...
4 years, 7 months ago (2016-05-16 22:50:00 UTC) #4
sadrul
--> sky@ for Win32 change
4 years, 7 months ago (2016-05-17 15:33:34 UTC) #6
sky
How about test coverage?
4 years, 7 months ago (2016-05-17 16:50:29 UTC) #7
kylix_rd
On 2016/05/17 16:50:29, sky wrote: > How about test coverage? Are there any existing window/modal/popup/ownership ...
4 years, 7 months ago (2016-05-17 17:53:52 UTC) #8
kylix_rd
On 2016/05/17 17:53:52, kylix_rd wrote: > On 2016/05/17 16:50:29, sky wrote: > > How about ...
4 years, 7 months ago (2016-05-17 19:02:54 UTC) #9
sky
Tests in interactive_ui_tests are those that can't be run in parallel. I don't think the ...
4 years, 7 months ago (2016-05-17 21:06:01 UTC) #10
kylix_rd
OK, I've added a unit test. views_unittests seemed more appropriate since this is a generic ...
4 years, 7 months ago (2016-05-19 16:06:21 UTC) #11
kylix_rd
On 2016/05/19 16:06:21, kylix_rd wrote: > OK, I've added a unit test. views_unittests seemed more ...
4 years, 7 months ago (2016-05-19 16:07:39 UTC) #12
sky
It's unfortunate the test has to be windows only. https://codereview.chromium.org/1978163003/diff/20001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1978163003/diff/20001/ui/views/widget/widget_unittest.cc#newcode3636 ui/views/widget/widget_unittest.cc:3636: ...
4 years, 7 months ago (2016-05-19 16:20:16 UTC) #13
kylix_rd
On 2016/05/19 16:20:16, sky wrote: > It's unfortunate the test has to be windows only. ...
4 years, 7 months ago (2016-05-19 16:27:07 UTC) #14
kylix_rd
https://codereview.chromium.org/1978163003/diff/20001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1978163003/diff/20001/ui/views/widget/widget_unittest.cc#newcode3636 ui/views/widget/widget_unittest.cc:3636: ui::ModalType type_; On 2016/05/19 16:20:16, sky wrote: > nit: ...
4 years, 7 months ago (2016-05-19 16:43:11 UTC) #15
sky
Not sure, but it's always nice to have more coverage. LGTM
4 years, 7 months ago (2016-05-19 16:48:32 UTC) #16
kylix_rd
On 2016/05/19 16:48:32, sky wrote: > Not sure, but it's always nice to have more ...
4 years, 7 months ago (2016-05-19 16:49:52 UTC) #17
kylix_rd
On 2016/05/19 16:49:52, kylix_rd wrote: > On 2016/05/19 16:48:32, sky wrote: > > Not sure, ...
4 years, 7 months ago (2016-05-19 19:42:27 UTC) #18
sadrul
sky@'s approval is sufficient; you don't need my review (I meant to remove myself from ...
4 years, 7 months ago (2016-05-19 19:43:57 UTC) #19
kylix_rd
https://codereview.chromium.org/1978163003/diff/40001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1978163003/diff/40001/ui/views/widget/widget_unittest.cc#newcode3716 ui/views/widget/widget_unittest.cc:3716: #endif On 2016/05/19 19:43:57, sadrul wrote: > #endif // ...
4 years, 7 months ago (2016-05-19 19:48:55 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978163003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978163003/60001
4 years, 7 months ago (2016-05-19 19:49:27 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-19 21:07:53 UTC) #25
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 21:09:14 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3972b0ed7c8531f67f7e796fa6f939a70f2694f9
Cr-Commit-Position: refs/heads/master@{#394861}

Powered by Google App Engine
This is Rietveld 408576698