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

Issue 2855883009: Don't send activation event when created (Closed)

Created:
3 years, 7 months ago by oshima
Modified:
3 years, 7 months ago
Reviewers:
oshima_google, reveman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't send activation event when created The new task may be already created on Android side, which can deactivate a new task on Android side. This CL suppresses the activation event for creation as well as activation request. R=reveman@chromium.org BUG=718429 TEST=Run cts test "CtsUiHostTestCases". It no longer fails. Review-Url: https://codereview.chromium.org/2855883009 Cr-Commit-Position: refs/heads/master@{#469823} Committed: https://chromium.googlesource.com/chromium/src/+/67679038561e87a38508710c0058477333b40eac

Patch Set 1 : . #

Patch Set 2 : changed to do all in server.cc #

Total comments: 3

Patch Set 3 : reset the property in OnWindowActivated #

Patch Set 4 : a better way #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M components/exo/wayland/server.cc View 1 2 3 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
oshima
3 years, 7 months ago (2017-05-04 14:20:37 UTC) #3
reveman
I prefer if we keep this logic in server.cc and limited to remote_shell surfaces. Can ...
3 years, 7 months ago (2017-05-04 15:10:52 UTC) #7
oshima
On 2017/05/04 15:10:52, reveman wrote: > I prefer if we keep this logic in server.cc ...
3 years, 7 months ago (2017-05-04 15:12:41 UTC) #8
oshima
PTAL
3 years, 7 months ago (2017-05-05 15:43:59 UTC) #9
reveman
https://codereview.chromium.org/2855883009/diff/40001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2855883009/diff/40001/components/exo/wayland/server.cc#newcode268 components/exo/wayland/server.cc:268: window->SetProperty(kIgnoreWindowActivated, false); Can we use an aura::WindowObserver for this ...
3 years, 7 months ago (2017-05-05 18:04:29 UTC) #10
oshima
https://codereview.chromium.org/2855883009/diff/40001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2855883009/diff/40001/components/exo/wayland/server.cc#newcode268 components/exo/wayland/server.cc:268: window->SetProperty(kIgnoreWindowActivated, false); On 2017/05/05 18:04:29, reveman wrote: > Can ...
3 years, 7 months ago (2017-05-05 23:09:33 UTC) #11
reveman
Nice! lgtm
3 years, 7 months ago (2017-05-05 23:27:13 UTC) #12
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/2855883009/80001
3 years, 7 months ago (2017-05-05 23:44:03 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-06 00:14:23 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/67679038561e87a38508710c0058...

Powered by Google App Engine
This is Rietveld 408576698