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

Issue 2690553004: Fixes bug in DesktopWindowTreeHostMus's activation handling (Closed)

Created:
3 years, 10 months ago by sky
Modified:
3 years, 10 months ago
Reviewers:
Elliot Glaysher, sadrul
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes bug in DesktopWindowTreeHostMus's activation handling If Activate() is called before the window is visible, then the call should fail. The way the code is now it assumed it would succeed so that when Activate() was called again later on we wouldn't do the right thing (because the activation client was already installed). BUG=690709 TEST=covered by test R=erg@chromium.org Review-Url: https://codereview.chromium.org/2690553004 Cr-Commit-Position: refs/heads/master@{#449721} Committed: https://chromium.googlesource.com/chromium/src/+/b52e3c3e96944729c7f6a02b42f5c1b6d01dee24

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -5 lines) Patch
M ui/views/mus/desktop_window_tree_host_mus.cc View 1 chunk +8 lines, -5 lines 1 comment Download
M ui/views/mus/desktop_window_tree_host_mus_unittest.cc View 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
sky
https://codereview.chromium.org/2690553004/diff/1/ui/views/mus/desktop_window_tree_host_mus.cc File ui/views/mus/desktop_window_tree_host_mus.cc (left): https://codereview.chromium.org/2690553004/diff/1/ui/views/mus/desktop_window_tree_host_mus.cc#oldcode537 ui/views/mus/desktop_window_tree_host_mus.cc:537: window()->Focus(); The explicit call to Focus() isn't necessary here ...
3 years, 10 months ago (2017-02-10 19:18:48 UTC) #1
sadrul
cool! lgtm
3 years, 10 months ago (2017-02-10 19:39:14 UTC) #5
Elliot Glaysher
lgtm
3 years, 10 months ago (2017-02-10 19:58:57 UTC) #6
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/2690553004/1
3 years, 10 months ago (2017-02-10 20:30:27 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 20:35:19 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b52e3c3e96944729c7f6a02b42f5...

Powered by Google App Engine
This is Rietveld 408576698