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

Issue 158833003: Represent kiosk apps as user pods instead of menu items. (Closed)

Created:
6 years, 10 months ago by Nikita (slow)
Modified:
6 years, 10 months ago
Reviewers:
xiyuan, oshima
CC:
chromium-reviews, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Represent kiosk apps as user pods instead of menu items. Add a custom user pod icon for such apps. Enable this UI by default. Provide --disable-new-kiosk-ui flag which reverts back to the original UI (menu). BUG=334304, 341884 R=xiyuan@chromium.org TBR=oshima Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251315

Patch Set 1 #

Patch Set 2 : launch button, added kiosk error bubble #

Total comments: 9

Patch Set 3 : review + fixes #

Total comments: 4

Patch Set 4 : review + fix tests #

Patch Set 5 : rebase #

Patch Set 6 : #

Patch Set 7 : . #

Patch Set 8 : pngcrush #

Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -77 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +6 lines, -0 lines 0 comments Download
A chrome/app/theme/default_100_percent/cros/kiosk_app_user_pod_icon.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
A chrome/app/theme/default_200_percent/cros/kiosk_app_user_pod_icon.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 1 2 3 4 8 chunks +33 lines, -23 lines 0 comments Download
M chrome/browser/resources/chromeos/login/display_manager.js View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/header_bar.js View 1 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_account_picker.js View 1 2 2 chunks +36 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/user_pod_row.css View 1 2 3 4 5 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/resources/chromeos/login/user_pod_row.js View 1 2 3 4 5 6 29 chunks +245 lines, -43 lines 0 comments Download
M chrome/browser/resources/chromeos/login/user_pod_template.html View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc View 1 2 3 4 5 5 chunks +27 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Nikita (slow)
I still need to reimplement AppsMenuButton.runAppForTesting(...) API so that browser test works but I'll work ...
6 years, 10 months ago (2014-02-10 19:22:40 UTC) #1
xiyuan
Mostly good. https://codereview.chromium.org/158833003/diff/30001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/158833003/diff/30001/chrome/app/generated_resources.grd#newcode14163 chrome/app/generated_resources.grd:14163: + Launch App nit: "Launch app" since ...
6 years, 10 months ago (2014-02-10 21:15:55 UTC) #2
Nikita (slow)
Ready for another round of review. I'm still investigating why part of KioskTest.* is not ...
6 years, 10 months ago (2014-02-12 17:19:24 UTC) #3
xiyuan
LGTM https://codereview.chromium.org/158833003/diff/30001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/158833003/diff/30001/chrome/app/generated_resources.grd#newcode14163 chrome/app/generated_resources.grd:14163: + Launch App On 2014/02/12 17:19:25, Nikita Kostylev ...
6 years, 10 months ago (2014-02-12 17:35:03 UTC) #4
Nikita (slow)
https://codereview.chromium.org/158833003/diff/210001/chrome/browser/resources/chromeos/login/user_pod_row.js File chrome/browser/resources/chromeos/login/user_pod_row.js (right): https://codereview.chromium.org/158833003/diff/210001/chrome/browser/resources/chromeos/login/user_pod_row.js#newcode85 chrome/browser/resources/chromeos/login/user_pod_row.js:85: // main input field gets focus and tab index ...
6 years, 10 months ago (2014-02-13 08:58:01 UTC) #5
xiyuan
SLGTM
6 years, 10 months ago (2014-02-13 15:34:18 UTC) #6
Nikita (slow)
TBR'ing oshima for new image asset. Xiyuan, I've had to change how we send list ...
6 years, 10 months ago (2014-02-14 10:37:44 UTC) #7
Nikita (slow)
The CQ bit was checked by nkostylev@chromium.org
6 years, 10 months ago (2014-02-14 11:14:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkostylev@chromium.org/158833003/840001
6 years, 10 months ago (2014-02-14 11:14:28 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-14 14:21:21 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=202234
6 years, 10 months ago (2014-02-14 14:21:22 UTC) #11
Nikita (slow)
Committed patchset #8 manually as r251315 (presubmit successful).
6 years, 10 months ago (2014-02-14 14:57:37 UTC) #12
xiyuan
6 years, 10 months ago (2014-02-14 16:57:38 UTC) #13
Message was sent while issue was closed.
On 2014/02/14 10:37:44, Nikita Kostylev wrote:
> TBR'ing oshima for new image asset.
> 
> Xiyuan, I've had to change how we send list of apps.
> What I've seen in the debugger on the startup KioskAppManager notifies
> KioskAppMenuHandler that app state has changed (new app has been loaded) and
JS
> call sendApps is executed.
> 
> But at that time WebUI is not ready yet.

We used to have that and gone in https://codereview.chromium.org/130613004/. I
forgot about this when I reviewed the CL. Thanks for fixing it.

Powered by Google App Engine
This is Rietveld 408576698