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

Issue 2825923002: Do not notify Wayland clients about activation which came from them. (Closed)

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

Description

Do not notify Wayland clients about activation which came from them. If a task is moved to front on Android side, it will send an activation request to Wayland server, which will activate the window on Chrome side. This would formerly notify Wayland client (Android) about the window activation. If the window no longer had focus on Android side, we'd refocus it unintentionally. Now if the activation is originally invoked from Android side, we'll not call the callback. TEST=CTS passes without flakyness. BUG=b/34722452 Review-Url: https://codereview.chromium.org/2825923002 Cr-Commit-Position: refs/heads/master@{#465885} Committed: https://chromium.googlesource.com/chromium/src/+/684e394da09c25aec471f4468211513244131235

Patch Set 1 #

Patch Set 2 : Cleanup. #

Patch Set 3 : And another one. #

Patch Set 4 : Move out from shell_surface. #

Total comments: 4

Patch Set 5 : Cleanup. #

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

Messages

Total messages: 24 (18 generated)
mtomasz
@reveman: PTAL. Oshima@ suggested to do this only for ShellSurfaces having BoundsMode CLIENT to limit ...
3 years, 8 months ago (2017-04-19 02:44:49 UTC) #5
mtomasz
The CTS is still flaky. Looking at it.
3 years, 8 months ago (2017-04-19 04:08:38 UTC) #10
reveman
lgtm + nits https://codereview.chromium.org/2825923002/diff/60001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2825923002/diff/60001/components/exo/wayland/server.cc#newcode163 components/exo/wayland/server.cc:163: DEFINE_UI_CLASS_PROPERTY_KEY(bool, kIsActivatingFromClient, false); nit: maybe s/kIsActivatingFromClient/kIgnoreWindowActivated/ ...
3 years, 8 months ago (2017-04-19 04:14:13 UTC) #11
mtomasz
https://codereview.chromium.org/2825923002/diff/60001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2825923002/diff/60001/components/exo/wayland/server.cc#newcode163 components/exo/wayland/server.cc:163: DEFINE_UI_CLASS_PROPERTY_KEY(bool, kIsActivatingFromClient, false); On 2017/04/19 04:14:13, reveman wrote: > ...
3 years, 8 months ago (2017-04-20 00:46:17 UTC) #14
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/2825923002/80001
3 years, 8 months ago (2017-04-20 03:15:10 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 03:20:47 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/684e394da09c25aec471f4468211...

Powered by Google App Engine
This is Rietveld 408576698