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

Issue 2834943002: Don't allow a widget to send close notifications more than once. (Closed)

Created:
3 years, 8 months ago by Evan Stade
Modified:
3 years, 7 months ago
Reviewers:
alph, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't allow a widget to send close notifications more than once. Add a test to make sure this works. Also fix a couple WidgetTests that were disabled. BUG=714334 Review-Url: https://codereview.chromium.org/2834943002 Cr-Commit-Position: refs/heads/master@{#467171} Committed: https://chromium.googlesource.com/chromium/src/+/bf25b17bd99b5dbeff92e62f8dddd289c335dc0a

Patch Set 1 #

Patch Set 2 : dont touch that one #

Total comments: 12

Patch Set 3 : sky review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -33 lines) Patch
M ui/views/widget/widget.cc View 1 2 1 chunk +17 lines, -17 lines 0 comments Download
M ui/views/widget/widget_unittest.cc View 1 2 4 chunks +79 lines, -16 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
Evan Stade
necessary precursor for https://codereview.chromium.org/2831233003/
3 years, 8 months ago (2017-04-25 00:10:21 UTC) #10
sky
LGTM https://codereview.chromium.org/2834943002/diff/20001/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): https://codereview.chromium.org/2834943002/diff/20001/ui/views/widget/widget.cc#newcode586 ui/views/widget/widget.cc:586: can_close = non_client_view_->CanClose(); While you're here simplify this ...
3 years, 8 months ago (2017-04-25 05:04:10 UTC) #12
Evan Stade
https://codereview.chromium.org/2834943002/diff/20001/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): https://codereview.chromium.org/2834943002/diff/20001/ui/views/widget/widget.cc#newcode586 ui/views/widget/widget.cc:586: can_close = non_client_view_->CanClose(); On 2017/04/25 05:04:10, sky wrote: > ...
3 years, 8 months ago (2017-04-25 22:52:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2834943002/40001
3 years, 8 months ago (2017-04-25 22:53:30 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/bf25b17bd99b5dbeff92e62f8dddd289c335dc0a
3 years, 8 months ago (2017-04-26 00:10:29 UTC) #20
alph
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2844933002/ by alph@chromium.org. ...
3 years, 7 months ago (2017-04-27 00:18:19 UTC) #21
Evan Stade
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2842403002/ by estade@chromium.org. ...
3 years, 7 months ago (2017-04-27 01:44:11 UTC) #22
alph
On 2017/04/27 01:44:11, Evan Stade wrote: > A revert of this CL (patchset #3 id:40001) ...
3 years, 7 months ago (2017-04-27 01:55:09 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 01:56:23 UTC) #27
Message was sent while issue was closed.
CQ is trying da patch.

Follow status at:
https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...

Powered by Google App Engine
This is Rietveld 408576698