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

Issue 2839383002: Introduce lock_screen_apps to chrome/browser/chromeos (Closed)

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

Description

Introduce lock_screen_apps to chrome/browser/chromeos Adds a flag to guard the feature. Adds folder to chrome/browser/chromeos to be used for implementing support for (note taking) lock screen apps. Initially, only an action state controller is added, which currently doesn't do much, but this is intended to change - the class in question will be used to communicate the action handling state to different parts of the system. BUG=715781 Review-Url: https://codereview.chromium.org/2839383002 Cr-Commit-Position: refs/heads/master@{#468779} Committed: https://chromium.googlesource.com/chromium/src/+/86ccfebb8d4cd066b640d742e6dcd6043cf04cf4

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : move to state controller branch #

Patch Set 7 : . #

Total comments: 13

Patch Set 8 : . #

Total comments: 6

Patch Set 9 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -0 lines) Patch
M chrome/browser/chromeos/BUILD.gn View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/lock_screen_apps/OWNERS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/chromeos/lock_screen_apps/state_controller.h View 1 2 3 4 5 6 7 8 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/lock_screen_apps/state_controller.cc View 1 2 3 4 5 6 7 8 1 chunk +89 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/lock_screen_apps/state_controller_unittest.cc View 1 2 3 4 5 6 7 1 chunk +114 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/lock_screen_apps/state_observer.h View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/lock_screen_apps/types.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (31 generated)
tbarzic
This doesn't do much yet, but the plan is for this to be the communication ...
3 years, 7 months ago (2017-05-02 00:21:45 UTC) #26
xiyuan
https://codereview.chromium.org/2839383002/diff/120001/chrome/browser/chromeos/lock_screen_apps/state_controller.cc File chrome/browser/chromeos/lock_screen_apps/state_controller.cc (right): https://codereview.chromium.org/2839383002/diff/120001/chrome/browser/chromeos/lock_screen_apps/state_controller.cc#newcode66 chrome/browser/chromeos/lock_screen_apps/state_controller.cc:66: ActionState action_state) { nit: DCHECK_EQ(Action::kNewNote, action); https://codereview.chromium.org/2839383002/diff/120001/chrome/browser/chromeos/lock_screen_apps/state_controller.cc#newcode67 chrome/browser/chromeos/lock_screen_apps/state_controller.cc:67: ActionState ...
3 years, 7 months ago (2017-05-02 18:12:23 UTC) #29
tbarzic
https://codereview.chromium.org/2839383002/diff/120001/chrome/browser/chromeos/lock_screen_apps/state_controller.cc File chrome/browser/chromeos/lock_screen_apps/state_controller.cc (right): https://codereview.chromium.org/2839383002/diff/120001/chrome/browser/chromeos/lock_screen_apps/state_controller.cc#newcode66 chrome/browser/chromeos/lock_screen_apps/state_controller.cc:66: ActionState action_state) { On 2017/05/02 18:12:22, xiyuan wrote: > ...
3 years, 7 months ago (2017-05-02 18:43:37 UTC) #30
xiyuan
lgtm https://codereview.chromium.org/2839383002/diff/120001/chrome/browser/chromeos/lock_screen_apps/state_controller.h File chrome/browser/chromeos/lock_screen_apps/state_controller.h (right): https://codereview.chromium.org/2839383002/diff/120001/chrome/browser/chromeos/lock_screen_apps/state_controller.h#newcode48 chrome/browser/chromeos/lock_screen_apps/state_controller.h:48: bool UpdateActionState(Action action, ActionState state); On 2017/05/02 18:43:37, ...
3 years, 7 months ago (2017-05-02 19:23:03 UTC) #31
jdufault
lgtm https://codereview.chromium.org/2839383002/diff/140001/chrome/browser/chromeos/lock_screen_apps/OWNERS File chrome/browser/chromeos/lock_screen_apps/OWNERS (right): https://codereview.chromium.org/2839383002/diff/140001/chrome/browser/chromeos/lock_screen_apps/OWNERS#newcode1 chrome/browser/chromeos/lock_screen_apps/OWNERS:1: jdufault@chromium.org I'm probably not going to be writing ...
3 years, 7 months ago (2017-05-02 20:16:03 UTC) #32
jdufault
lgtm
3 years, 7 months ago (2017-05-02 20:16:04 UTC) #33
tbarzic
https://codereview.chromium.org/2839383002/diff/140001/chrome/browser/chromeos/lock_screen_apps/OWNERS File chrome/browser/chromeos/lock_screen_apps/OWNERS (right): https://codereview.chromium.org/2839383002/diff/140001/chrome/browser/chromeos/lock_screen_apps/OWNERS#newcode1 chrome/browser/chromeos/lock_screen_apps/OWNERS:1: jdufault@chromium.org On 2017/05/02 20:16:02, jdufault wrote: > I'm probably ...
3 years, 7 months ago (2017-05-02 20:20:12 UTC) #34
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/2839383002/160001
3 years, 7 months ago (2017-05-02 20:24:48 UTC) #37
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/86ccfebb8d4cd066b640d742e6dcd6043cf04cf4
3 years, 7 months ago (2017-05-02 21:27:22 UTC) #40
James Cook
3 years, 7 months ago (2017-05-03 23:30:38 UTC) #41
Message was sent while issue was closed.
On 2017/05/02 21:27:22, commit-bot: I haz the power wrote:
> Committed patchset #9 (id:160001) as
>
https://chromium.googlesource.com/chromium/src/+/86ccfebb8d4cd066b640d742e6dc...

Drive-by: Can the StateController be owned by some other object instead of being
a singleton? Like maybe ChromeBrowserMainPartsChromeOS? I'm OK with there still
being a static Get() method, but then at least the lifetime will be easier to
understand.

Powered by Google App Engine
This is Rietveld 408576698