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

Issue 2896093003: cros: Make sure views-based lock screen is destroyed after it is dismissed. (Closed)

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

Description

cros: Make sure views-based lock screen is destroyed after it is dismissed. Add a CHECK to verify we only ever display one lock screen. BUG=719015 Review-Url: https://codereview.chromium.org/2896093003 Cr-Commit-Position: refs/heads/master@{#478117} Committed: https://chromium.googlesource.com/chromium/src/+/eb4c9f1ea4721f5d35f19a89481bb16560330a76

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add new mojo calls #

Total comments: 10

Patch Set 3 : Rebase #

Patch Set 4 : Address comments #

Total comments: 5

Patch Set 5 : Rebase #

Patch Set 6 : Address comment #

Total comments: 12

Patch Set 7 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -47 lines) Patch
M ash/login/lock_screen_controller.h View 1 2 3 4 4 chunks +23 lines, -8 lines 0 comments Download
M ash/login/lock_screen_controller.cc View 1 2 3 4 4 chunks +32 lines, -11 lines 0 comments Download
M ash/login/lock_screen_controller_unittest.cc View 1 2 3 4 5 6 4 chunks +12 lines, -4 lines 0 comments Download
M ash/login/mock_lock_screen_client.h View 1 2 3 4 5 2 chunks +17 lines, -4 lines 0 comments Download
M ash/login/mock_lock_screen_client.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M ash/login/ui/lock_contents_view.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M ash/login/ui/lock_screen.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M ash/login/ui/lock_screen.cc View 1 2 3 1 chunk +19 lines, -5 lines 0 comments Download
M ash/public/interfaces/lock_screen.mojom View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.h View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.cc View 1 2 3 4 4 chunks +17 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/lock_screen_client.h View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/lock_screen_client.cc View 1 2 3 4 2 chunks +9 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 51 (35 generated)
jdufault
xiyuan@ PTAL, thanks.
3 years, 6 months ago (2017-06-05 20:28:41 UTC) #8
xiyuan
https://codereview.chromium.org/2896093003/diff/1/ash/login/ui/lock_screen.h File ash/login/ui/lock_screen.h (right): https://codereview.chromium.org/2896093003/diff/1/ash/login/ui/lock_screen.h#newcode19 ash/login/ui/lock_screen.h:19: ASH_EXPORT void DestroyLockScreen(); I would prefer to expose ShowLockScreen ...
3 years, 6 months ago (2017-06-05 20:39:33 UTC) #9
jdufault
https://codereview.chromium.org/2896093003/diff/1/ash/login/ui/lock_screen.h File ash/login/ui/lock_screen.h (right): https://codereview.chromium.org/2896093003/diff/1/ash/login/ui/lock_screen.h#newcode19 ash/login/ui/lock_screen.h:19: ASH_EXPORT void DestroyLockScreen(); On 2017/06/05 20:39:33, xiyuan wrote: > ...
3 years, 6 months ago (2017-06-06 21:48:43 UTC) #19
xiyuan
Cool. https://codereview.chromium.org/2896093003/diff/40001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2896093003/diff/40001/ash/login/lock_screen_controller.cc#newcode35 ash/login/lock_screen_controller.cc:35: account_id, password, authenticated_by_pin, std::move(callback))); nit: DCHECK_EQ(1u, pending_user_auths_.size()), since ...
3 years, 6 months ago (2017-06-06 22:37:52 UTC) #20
jdufault
https://codereview.chromium.org/2896093003/diff/40001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2896093003/diff/40001/ash/login/lock_screen_controller.cc#newcode35 ash/login/lock_screen_controller.cc:35: account_id, password, authenticated_by_pin, std::move(callback))); On 2017/06/06 22:37:51, xiyuan wrote: ...
3 years, 6 months ago (2017-06-07 18:58:35 UTC) #30
xiyuan
lgtm https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h File ash/login/mock_lock_screen_client.h (right): https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h#newcode24 ash/login/mock_lock_screen_client.h:24: } nit: move this the last of all ...
3 years, 6 months ago (2017-06-07 19:02:28 UTC) #31
jdufault
https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h File ash/login/mock_lock_screen_client.h (right): https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h#newcode24 ash/login/mock_lock_screen_client.h:24: } On 2017/06/07 19:02:28, xiyuan wrote: > nit: move ...
3 years, 6 months ago (2017-06-07 22:53:21 UTC) #34
xiyuan
https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h File ash/login/mock_lock_screen_client.h (right): https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h#newcode24 ash/login/mock_lock_screen_client.h:24: } On 2017/06/07 22:53:21, jdufault wrote: > On 2017/06/07 ...
3 years, 6 months ago (2017-06-07 23:03:21 UTC) #35
jdufault
rsesek@ PTAL at *lock_screen.mojom jamescook@ PTAL at c/b/ui/ash/* https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h File ash/login/mock_lock_screen_client.h (right): https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h#newcode24 ash/login/mock_lock_screen_client.h:24: } ...
3 years, 6 months ago (2017-06-08 17:36:06 UTC) #40
xiyuan
https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h File ash/login/mock_lock_screen_client.h (right): https://codereview.chromium.org/2896093003/diff/100001/ash/login/mock_lock_screen_client.h#newcode24 ash/login/mock_lock_screen_client.h:24: } On 2017/06/08 17:36:06, jdufault wrote: > On 2017/06/07 ...
3 years, 6 months ago (2017-06-08 17:49:06 UTC) #41
xiyuan
3 years, 6 months ago (2017-06-08 17:49:08 UTC) #42
James Cook
c/b/ui/ash lgtm, but I have some suggestions for the rest of the code https://codereview.chromium.org/2896093003/diff/140001/ash/login/lock_screen_controller.cc File ...
3 years, 6 months ago (2017-06-08 19:47:13 UTC) #43
Robert Sesek
mojom lgtm
3 years, 6 months ago (2017-06-08 21:34:48 UTC) #44
jdufault
https://codereview.chromium.org/2896093003/diff/140001/ash/login/lock_screen_controller.cc File ash/login/lock_screen_controller.cc (right): https://codereview.chromium.org/2896093003/diff/140001/ash/login/lock_screen_controller.cc#newcode26 ash/login/lock_screen_controller.cc:26: ::ash::ShowLockScreen(); On 2017/06/08 19:47:12, James Cook wrote: > Aside: ...
3 years, 6 months ago (2017-06-08 22:23:14 UTC) #47
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/2896093003/160001
3 years, 6 months ago (2017-06-08 22:23:38 UTC) #48
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 23:08:46 UTC) #51
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/eb4c9f1ea4721f5d35f19a89481b...

Powered by Google App Engine
This is Rietveld 408576698