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

Issue 2339313002: arc: Support Arc window showing/hiding on a user's profile switch. (Closed)

Created:
4 years, 3 months ago by khmel
Modified:
4 years, 3 months ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Support Arc window showing/hiding on a user's profile switch. This fixes several cases when multi-user manager and shelf controller is unable to restore Arc window correctly when the user changes his profile. BUG=b/31493349 TEST=Manually on a device. Arc app windows automatically restored when the user switch backs to main profile. Committed: https://crrev.com/6f385b640644bf1cf3c132d5cae98f347c016606 Cr-Commit-Position: refs/heads/master@{#418905}

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -20 lines) Patch
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc View 1 8 chunks +18 lines, -19 lines 4 comments Download

Messages

Total messages: 13 (4 generated)
khmel
PTAL https://codereview.chromium.org/2339313002/diff/1/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2339313002/diff/1/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode95 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:95: views::Widget* widget, Setting widget is legacy code for ...
4 years, 3 months ago (2016-09-14 23:42:19 UTC) #2
Mr4D (OOO till 08-26)
I think this is lgtm, but please wait for Oshima's review as well. https://codereview.chromium.org/2339313002/diff/1/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File ...
4 years, 3 months ago (2016-09-15 14:03:19 UTC) #3
khmel
Thanks Stefan for review! Your comments were addressed. https://codereview.chromium.org/2339313002/diff/1/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2339313002/diff/1/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode213 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:213: views::Widget* ...
4 years, 3 months ago (2016-09-15 15:43:27 UTC) #4
oshima
CL itself lgtm, but I have a few questions w.r.t multi profile handling. https://codereview.chromium.org/2339313002/diff/20001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File ...
4 years, 3 months ago (2016-09-15 17:14:32 UTC) #5
khmel
Thanks for review! https://codereview.chromium.org/2339313002/diff/20001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2339313002/diff/20001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode300 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:300: if (visible && observed_profile_ == owner()->GetProfile()) ...
4 years, 3 months ago (2016-09-15 17:32:15 UTC) #6
khmel
Thanks for review!
4 years, 3 months ago (2016-09-15 17:32:17 UTC) #7
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/2339313002/20001
4 years, 3 months ago (2016-09-15 17:33:08 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-15 18:16:22 UTC) #11
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 18:19:08 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6f385b640644bf1cf3c132d5cae98f347c016606
Cr-Commit-Position: refs/heads/master@{#418905}

Powered by Google App Engine
This is Rietveld 408576698