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

Issue 2184103003: arc: Implement proper Arc window activation for task moving to front. (Closed)

Created:
4 years, 4 months ago by khmel
Modified:
4 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, kalyank, lhchavez+watch_chromium.org, Matt Giuca, qsr+mojo_chromium.org, sadrul, tapted, tfarina, viettrungluu+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Implement proper Arc window activation for task moving to front. This handles new Android onTaskMovedToFront notification and activates corresponded window. BUG=b/28223322 TEST=Manually on device. Start new task, its window gets active. Start Arc app and activate native chrome window, then start task again via app list and corresponded Arc window gets active. Start one Arc app, start native Chrome app, start another Arc app. Close last Arc app and native Chrome window gets active. Committed: https://crrev.com/62b40ce1cf15e419d7f9807202b93fc754db7609 Cr-Commit-Position: refs/heads/master@{#409126}

Patch Set 1 #

Total comments: 2

Patch Set 2 : wayland based #

Total comments: 2

Patch Set 3 : rebased/serial added #

Patch Set 4 : fix rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -7 lines) Patch
M components/exo/shell_surface.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/exo/shell_surface.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 chunks +9 lines, -2 lines 0 comments Download
M third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h View 1 2 3 chunks +17 lines, -0 lines 0 comments Download
M third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/wayland-protocols/protocol/remote-shell-protocol.c View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml View 1 2 3 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
khmel
Hi David and Stefan, There Android side CL also: ag/1263283 PTAL
4 years, 4 months ago (2016-07-27 23:42:10 UTC) #2
Mr4D (OOO till 08-26)
lgtm
4 years, 4 months ago (2016-07-28 00:52:00 UTC) #3
khmel
Thank you Stefan for review! Adding Ricky (components/arc/common/app.mojom) and Xiyuan ( chrome/browser/ui/app_list/arc/arc_app_list_prefs.*) PTAL
4 years, 4 months ago (2016-07-28 14:54:20 UTC) #5
reveman
https://codereview.chromium.org/2184103003/diff/1/components/arc/common/app.mojom File components/arc/common/app.mojom (right): https://codereview.chromium.org/2184103003/diff/1/components/arc/common/app.mojom#newcode104 components/arc/common/app.mojom:104: [MinVersion=13] OnTaskMovedToFront@13(int32 task_id); I think this needs to go ...
4 years, 4 months ago (2016-07-28 14:55:00 UTC) #7
khmel
https://codereview.chromium.org/2184103003/diff/1/components/arc/common/app.mojom File components/arc/common/app.mojom (right): https://codereview.chromium.org/2184103003/diff/1/components/arc/common/app.mojom#newcode104 components/arc/common/app.mojom:104: [MinVersion=13] OnTaskMovedToFront@13(int32 task_id); On 2016/07/28 14:55:00, reveman wrote: > ...
4 years, 4 months ago (2016-07-28 15:13:27 UTC) #8
reveman
On 2016/07/28 at 15:13:27, khmel wrote: > https://codereview.chromium.org/2184103003/diff/1/components/arc/common/app.mojom > File components/arc/common/app.mojom (right): > > https://codereview.chromium.org/2184103003/diff/1/components/arc/common/app.mojom#newcode104 ...
4 years, 4 months ago (2016-07-28 15:31:53 UTC) #9
khmel
On 2016/07/28 15:31:53, reveman wrote: > On 2016/07/28 at 15:13:27, khmel wrote: > > > ...
4 years, 4 months ago (2016-07-28 22:06:16 UTC) #10
reveman
lgtm
4 years, 4 months ago (2016-08-01 00:40:14 UTC) #11
reveman
https://codereview.chromium.org/2184103003/diff/20001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2184103003/diff/20001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode475 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:475: <request name="activate" since="9"> Oh, one thing. Can you add: ...
4 years, 4 months ago (2016-08-01 00:52:41 UTC) #12
reveman
fyi, this needs to be rebased on https://codereview.chromium.org/2189073003/
4 years, 4 months ago (2016-08-02 00:30:14 UTC) #13
khmel
https://codereview.chromium.org/2184103003/diff/20001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2184103003/diff/20001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode475 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:475: <request name="activate" since="9"> On 2016/08/01 00:52:41, reveman wrote: > ...
4 years, 4 months ago (2016-08-02 02:21:53 UTC) #16
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/2184103003/60001
4 years, 4 months ago (2016-08-02 02:21:59 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-02 03:00:06 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 03:01:49 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/62b40ce1cf15e419d7f9807202b93fc754db7609
Cr-Commit-Position: refs/heads/master@{#409126}

Powered by Google App Engine
This is Rietveld 408576698