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

Issue 2859363003: cros: Initial structure for views-based lock. (Closed)

Created:
3 years, 7 months ago by jdufault
Modified:
3 years, 7 months ago
Reviewers:
xiyuan, James Cook
CC:
chromium-reviews, derat+watch_chromium.org, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Initial structure for views-based lock. BUG=719015 Review-Url: https://codereview.chromium.org/2859363003 Cr-Commit-Position: refs/heads/master@{#470196} Committed: https://chromium.googlesource.com/chromium/src/+/65bb182d82588d3c7e8723c4bd45c3219d121cb4

Patch Set 1 : Initial upload #

Total comments: 2

Patch Set 2 : Update session state in chrome #

Total comments: 26

Patch Set 3 : Rebase #

Patch Set 4 : Address comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -102 lines) Patch
M ash/BUILD.gn View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A ash/login/views/lock_contents_view.h View 1 2 3 1 chunk +34 lines, -0 lines 2 comments Download
A ash/login/views/lock_contents_view.cc View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A ash/login/views/lock_screen.h View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A ash/login/views/lock_screen.cc View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.h View 1 2 3 4 chunks +68 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.cc View 1 2 3 21 chunks +112 lines, -38 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker_tester.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.h View 1 2 3 4 chunks +16 lines, -39 lines 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.cc View 1 2 3 6 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/signin_screen_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window.h View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/power/renderer_freezer.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/shutdown_policy_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (23 generated)
jdufault
xiyuan@ PTAL
3 years, 7 months ago (2017-05-05 20:51:36 UTC) #10
xiyuan
https://codereview.chromium.org/2859363003/diff/20001/ash/login/views/lock_screen.cc File ash/login/views/lock_screen.cc (right): https://codereview.chromium.org/2859363003/diff/20001/ash/login/views/lock_screen.cc#newcode29 ash/login/views/lock_screen.cc:29: session_controller->SetSessionInfo(std::move(info)); In current code, the session state code originates ...
3 years, 7 months ago (2017-05-08 17:11:50 UTC) #13
jdufault
https://codereview.chromium.org/2859363003/diff/20001/ash/login/views/lock_screen.cc File ash/login/views/lock_screen.cc (right): https://codereview.chromium.org/2859363003/diff/20001/ash/login/views/lock_screen.cc#newcode29 ash/login/views/lock_screen.cc:29: session_controller->SetSessionInfo(std::move(info)); On 2017/05/08 17:11:50, xiyuan wrote: > In current ...
3 years, 7 months ago (2017-05-08 20:46:51 UTC) #18
xiyuan
lgtm Let's see what jamescook@ thinks.
3 years, 7 months ago (2017-05-08 20:55:27 UTC) #20
James Cook
Overall structure seems fine - some questions and nits https://codereview.chromium.org/2859363003/diff/40001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2859363003/diff/40001/ash/BUILD.gn#newcode204 ash/BUILD.gn:204: ...
3 years, 7 months ago (2017-05-08 22:04:21 UTC) #21
jdufault
https://codereview.chromium.org/2859363003/diff/40001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2859363003/diff/40001/ash/BUILD.gn#newcode204 ash/BUILD.gn:204: "login/views/contents_view.cc", On 2017/05/08 22:04:20, James Cook (sheriff - slow) ...
3 years, 7 months ago (2017-05-08 23:02:35 UTC) #24
James Cook
LGTM. (Aside: Always creating the ShelfView at startup is turning out to be a fiddly ...
3 years, 7 months ago (2017-05-08 23:24:10 UTC) #25
jdufault
https://codereview.chromium.org/2859363003/diff/40001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2859363003/diff/40001/ash/BUILD.gn#newcode204 ash/BUILD.gn:204: "login/views/contents_view.cc", On 2017/05/08 23:24:09, James Cook (sheriff - slow) ...
3 years, 7 months ago (2017-05-08 23:48:28 UTC) #26
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/2859363003/80001
3 years, 7 months ago (2017-05-09 00:06:53 UTC) #30
James Cook
OK, seeing the pile of code in c/b/chromeos/login makes me think a subdir is OK. ...
3 years, 7 months ago (2017-05-09 02:39:05 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:80001) as https://chromium.googlesource.com/chromium/src/+/65bb182d82588d3c7e8723c4bd45c3219d121cb4
3 years, 7 months ago (2017-05-09 04:19:39 UTC) #34
jdufault
3 years, 7 months ago (2017-05-09 17:09:28 UTC) #35
Message was sent while issue was closed.
On 2017/05/09 02:39:05, James Cook (sheriff - slow) wrote:
> OK, seeing the pile of code in c/b/chromeos/login makes me think a subdir is
OK.
> 
> I see you have this in the CQ, and this is a bikeshed, but I think you should
> call the directory something other than "views". Seeing that name implies to
me
> that there is a non-views UI implementation (e.g. chrome/browser/ui/views vs.
> c/b/ui/cocoa).
> 
> How about "ui" to match c/b/chromeos/login/ui?

I'll send a follow-up CL

Powered by Google App Engine
This is Rietveld 408576698