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

Issue 620663005: Lock screen for Chrome-Athena (Closed)

Created:
6 years, 2 months ago by Dmitry Polukhin
Modified:
6 years, 2 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, bshe
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Lock screen for Chrome-Athena Screen lock activates with keyboard accelerator Ctrl+Shift+L and bower button. BUG=413926 TEST=manual Committed: https://crrev.com/5b584d515a38c01b3d9d72d823688b67173c97cf Cr-Commit-Position: refs/heads/master@{#299878}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : set athena::FillLayoutManager for lock screen #

Total comments: 6

Patch Set 4 : added link to bugs #

Patch Set 5 : fixed crash #

Total comments: 31

Patch Set 6 : comments resolved #

Total comments: 7

Patch Set 7 : comments resolved #

Patch Set 8 : added ScreenLockManagerBase #

Patch Set 9 : nit #

Patch Set 10 : use PowerButtonObserver #

Total comments: 4

Patch Set 11 : nits fixed #

Patch Set 12 : one more nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -24 lines) Patch
M athena/athena.gyp View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -0 lines 0 comments Download
M athena/main/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M athena/main/athena_launcher.cc View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M athena/screen/screen_manager_impl.cc View 1 3 chunks +11 lines, -3 lines 0 comments Download
A athena/screen_lock/chrome/DEPS View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
A athena/screen_lock/chrome/chrome_screen_lock_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +94 lines, -0 lines 0 comments Download
A + athena/screen_lock/public/DEPS View 1 1 chunk +1 line, -1 line 0 comments Download
A athena/screen_lock/public/screen_lock_manager.h View 1 2 3 4 5 6 7 8 9 11 1 chunk +28 lines, -0 lines 0 comments Download
A athena/screen_lock/screen_lock_manager_base.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +29 lines, -0 lines 0 comments Download
A athena/screen_lock/screen_lock_manager_base.cc View 1 2 3 4 5 6 7 1 chunk +39 lines, -0 lines 0 comments Download
A + athena/screen_lock/shell/shell_screen_lock_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download
M athena/system/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/lock/screen_locker.cc View 1 2 3 4 5 6 9 chunks +16 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/lock/webui_screen_locker.cc View 4 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window_aura.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/ui/lock_window_aura.cc View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/display_info_provider_chromeos.cc View 1 2 3 4 5 4 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (5 generated)
Dmitry Polukhin
Ohsima, This CL makes lock screen works but it cannot be committed as is because ...
6 years, 2 months ago (2014-10-01 12:05:01 UTC) #2
Dmitry Polukhin
PTAL
6 years, 2 months ago (2014-10-09 14:00:04 UTC) #3
Nikita (slow)
lgtm https://codereview.chromium.org/620663005/diff/40001/athena/screen_lock/chrome/DEPS File athena/screen_lock/chrome/DEPS (right): https://codereview.chromium.org/620663005/diff/40001/athena/screen_lock/chrome/DEPS#newcode4 athena/screen_lock/chrome/DEPS:4: "+chrome/browser/chromeos/login/lock", I guess this is against current rules ...
6 years, 2 months ago (2014-10-10 10:53:06 UTC) #4
Dmitry Polukhin
Oshima, please take a look. https://codereview.chromium.org/620663005/diff/40001/athena/screen_lock/chrome/DEPS File athena/screen_lock/chrome/DEPS (right): https://codereview.chromium.org/620663005/diff/40001/athena/screen_lock/chrome/DEPS#newcode4 athena/screen_lock/chrome/DEPS:4: "+chrome/browser/chromeos/login/lock", On 2014/10/10 10:53:06, ...
6 years, 2 months ago (2014-10-10 11:30:01 UTC) #5
Dmitry Polukhin
+mukai@ for Athena review, PTAL
6 years, 2 months ago (2014-10-13 07:26:16 UTC) #7
Jun Mukai
https://codereview.chromium.org/620663005/diff/170001/athena/main/athena_main.gyp File athena/main/athena_main.gyp (right): https://codereview.chromium.org/620663005/diff/170001/athena/main/athena_main.gyp#newcode63 athena/main/athena_main.gyp:63: 'lock_manager_stub.cc', Usually this kind of file should be in ...
6 years, 2 months ago (2014-10-13 18:20:25 UTC) #8
Jun Mukai
+bshe for wallpaper
6 years, 2 months ago (2014-10-13 18:21:36 UTC) #9
oshima
https://codereview.chromium.org/620663005/diff/170001/athena/athena.gyp File athena/athena.gyp (right): https://codereview.chromium.org/620663005/diff/170001/athena/athena.gyp#newcode195 athena/athena.gyp:195: ], this is static library, so you don't need ...
6 years, 2 months ago (2014-10-13 18:52:20 UTC) #10
Dmitry Polukhin
+ mek@ for OWNER review in chrome/browser/extensions/display_info_provider_chromeos.cc + thestig@ for OWNER review +base in DEPS ...
6 years, 2 months ago (2014-10-14 11:20:34 UTC) #12
bshe
wallpaper_manager.cc lgtm
6 years, 2 months ago (2014-10-14 13:39:35 UTC) #14
Marijn Kruisselbrink
chrome/browser/extensions/display_info_provider_chromeos.cc lgtm
6 years, 2 months ago (2014-10-14 17:34:13 UTC) #15
Jun Mukai
https://codereview.chromium.org/620663005/diff/170001/athena/system/power_button_controller.cc File athena/system/power_button_controller.cc (right): https://codereview.chromium.org/620663005/diff/170001/athena/system/power_button_controller.cc#newcode50 athena/system/power_button_controller.cc:50: athena::ScreenLockManager::Get()->LockScreen(); On 2014/10/14 11:20:33, Dmitry Polukhin wrote: > On ...
6 years, 2 months ago (2014-10-14 18:27:25 UTC) #16
oshima
https://codereview.chromium.org/620663005/diff/170001/athena/screen/screen_manager_impl.cc File athena/screen/screen_manager_impl.cc (right): https://codereview.chromium.org/620663005/diff/170001/athena/screen/screen_manager_impl.cc#newcode333 athena/screen/screen_manager_impl.cc:333: AthenaEventTargeter* athena_event_targeter = On 2014/10/14 11:20:33, Dmitry Polukhin wrote: ...
6 years, 2 months ago (2014-10-14 19:05:15 UTC) #17
Lei Zhang
Incoming base/ DEPS addition LGTM.
6 years, 2 months ago (2014-10-14 22:14:58 UTC) #18
Dmitry Polukhin
PTAL https://codereview.chromium.org/620663005/diff/350001/athena/athena.gyp File athena/athena.gyp (right): https://codereview.chromium.org/620663005/diff/350001/athena/athena.gyp#newcode220 athena/athena.gyp:220: 'ATHENA_IMPLEMENTATION', On 2014/10/14 19:05:15, oshima wrote: > On ...
6 years, 2 months ago (2014-10-15 10:14:26 UTC) #19
oshima
lgtm
6 years, 2 months ago (2014-10-15 10:36:34 UTC) #20
Dmitry Polukhin
PTAL https://codereview.chromium.org/620663005/diff/350001/athena/athena.gyp File athena/athena.gyp (right): https://codereview.chromium.org/620663005/diff/350001/athena/athena.gyp#newcode220 athena/athena.gyp:220: 'ATHENA_IMPLEMENTATION', On 2014/10/15 10:14:26, Dmitry Polukhin wrote: > ...
6 years, 2 months ago (2014-10-15 12:08:53 UTC) #21
oshima
On 2014/10/15 12:08:53, Dmitry Polukhin wrote: > PTAL > > https://codereview.chromium.org/620663005/diff/350001/athena/athena.gyp > File athena/athena.gyp (right): ...
6 years, 2 months ago (2014-10-15 18:05:44 UTC) #22
Dmitry Polukhin
PTAL, added PowerButtonObserver, moved ScreenLockManager to athena_content_lib and removed export. Will rebase and land only ...
6 years, 2 months ago (2014-10-16 09:26:00 UTC) #23
oshima
lgtm with nits https://codereview.chromium.org/620663005/diff/430001/athena/screen_lock/chrome/chrome_screen_lock_manager.cc File athena/screen_lock/chrome/chrome_screen_lock_manager.cc (right): https://codereview.chromium.org/620663005/diff/430001/athena/screen_lock/chrome/chrome_screen_lock_manager.cc#newcode81 athena/screen_lock/chrome/chrome_screen_lock_manager.cc:81: if (state == PRESSED) LONG_PRESSED ? ...
6 years, 2 months ago (2014-10-16 10:52:19 UTC) #24
Dmitry Polukhin
Thank you for the review! https://codereview.chromium.org/620663005/diff/430001/athena/screen_lock/chrome/chrome_screen_lock_manager.cc File athena/screen_lock/chrome/chrome_screen_lock_manager.cc (right): https://codereview.chromium.org/620663005/diff/430001/athena/screen_lock/chrome/chrome_screen_lock_manager.cc#newcode81 athena/screen_lock/chrome/chrome_screen_lock_manager.cc:81: if (state == PRESSED) ...
6 years, 2 months ago (2014-10-16 11:25:41 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/620663005/470001
6 years, 2 months ago (2014-10-16 11:30:42 UTC) #27
commit-bot: I haz the power
Committed patchset #12 (id:470001)
6 years, 2 months ago (2014-10-16 11:58:26 UTC) #28
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 11:58:58 UTC) #29
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/5b584d515a38c01b3d9d72d823688b67173c97cf
Cr-Commit-Position: refs/heads/master@{#299878}

Powered by Google App Engine
This is Rietveld 408576698