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

Issue 2801333002: mash: Run pre-unlock animation via SessionController (Closed)

Created:
3 years, 8 months ago by xiyuan
Modified:
3 years, 8 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, sadrul, qsr+mojo_chromium.org, derat+watch_chromium.org, viettrungluu+watch_chromium.org, achuith+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, oshima+watch_chromium.org, kalyank, darin (slow to review), davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Run pre-unlock animation via SessionController - Replace LockStateController::OnLockScreenHide with mojo call SessionController.RunUnlockAnimation so that it works on mash; - Implement lock state change detection in SessionController and remove relevant part in LoginLockStateNotifier that needs to talk directly to Shell; BUG=679450 Review-Url: https://codereview.chromium.org/2801333002 Cr-Commit-Position: refs/heads/master@{#463295} Committed: https://chromium.googlesource.com/chromium/src/+/7ebbf7f4312a35d83beb00e2bb66e57bf229d5f9

Patch Set 1 #

Patch Set 2 : fix compile #

Total comments: 12

Patch Set 3 : for #2 #

Total comments: 2

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -80 lines) Patch
M ash/public/interfaces/session_controller.mojom View 1 chunk +5 lines, -0 lines 0 comments Download
M ash/session/session_controller.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ash/session/session_controller.cc View 1 2 3 9 chunks +38 lines, -11 lines 0 comments Download
M ash/session/session_controller_unittest.cc View 1 2 3 8 chunks +54 lines, -16 lines 0 comments Download
M ash/session/session_state_observer.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 2 chunks +1 line, -4 lines 0 comments Download
M ash/shell.cc View 1 2 3 2 chunks +16 lines, -14 lines 0 comments Download
M ash/shell_unittest.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/lock_state_controller.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/lock_state_controller.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager_unittest.cc View 1 2 3 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.cc View 1 2 3 3 chunks +6 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/power/login_lock_state_notifier.cc View 3 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc View 1 2 3 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/session_controller_client.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_controller_client.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (21 generated)
xiyuan
3 years, 8 months ago (2017-04-07 19:20:25 UTC) #10
James Cook
A couple minor things and some questions. Also, WDYT of writing a short (like 1-2 ...
3 years, 8 months ago (2017-04-07 20:26:55 UTC) #11
xiyuan
I will try to wrap up in a doc. Bad at writing so might take ...
3 years, 8 months ago (2017-04-07 21:50:01 UTC) #14
James Cook
LGTM
3 years, 8 months ago (2017-04-07 22:52:04 UTC) #17
xiyuan
tsepez@, could you review session_controller.mojom change? Thanks.
3 years, 8 months ago (2017-04-07 23:20:34 UTC) #19
Tom Sepez
mojom LGTM
3 years, 8 months ago (2017-04-07 23:21:55 UTC) #20
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/2801333002/40001
3 years, 8 months ago (2017-04-07 23:25:21 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/406073)
3 years, 8 months ago (2017-04-07 23:34:17 UTC) #24
xiyuan
stevenjb@, could you do an owner review on c/b/notifications/login_state_notification_blocker_chromeos_unittest.cc Thanks.
3 years, 8 months ago (2017-04-10 15:46:46 UTC) #26
stevenjb
c/b/chromeos lgtm w/ question. https://codereview.chromium.org/2801333002/diff/40001/chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc File chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc (right): https://codereview.chromium.org/2801333002/diff/40001/chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc#newcode70 chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc:70: static_cast<ash::SessionStateObserver*>(ash::Shell::Get()) Why do we need ...
3 years, 8 months ago (2017-04-10 15:52:45 UTC) #27
xiyuan
https://codereview.chromium.org/2801333002/diff/40001/chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc File chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc (right): https://codereview.chromium.org/2801333002/diff/40001/chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc#newcode70 chrome/browser/notifications/login_state_notification_blocker_chromeos_unittest.cc:70: static_cast<ash::SessionStateObserver*>(ash::Shell::Get()) On 2017/04/10 15:52:44, stevenjb wrote: > Why do ...
3 years, 8 months ago (2017-04-10 16:09:53 UTC) #28
stevenjb
Ah. I missed that the interface was private. Understood, still lgtm. On Mon, Apr 10, ...
3 years, 8 months ago (2017-04-10 16:10:38 UTC) #29
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/2801333002/60001
3 years, 8 months ago (2017-04-10 16:12:33 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 16:50:07 UTC) #35
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/7ebbf7f4312a35d83beb00e2bb66...

Powered by Google App Engine
This is Rietveld 408576698