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

Issue 11568036: Add countdown when session time is limited (Closed)

Created:
8 years ago by bartfab (slow)
Modified:
8 years ago
Reviewers:
stevenjb
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add countdown when session time is limited This CL adds a countdown to the ash tray when the session time is limited. The UI can/will be improved further in the future. This is a first basic functional implementation. BUG=chromium-os:26957 TEST=Manual TBR=sky@chromium.org (for ash.gyp and ash_strings.grd changes) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173293

Patch Set 1 #

Total comments: 10

Patch Set 2 : Comments addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+512 lines, -11 lines) Patch
M ash/ash.gyp View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/ash_strings.grd View 1 chunk +3 lines, -0 lines 0 comments Download
A ash/system/session_length_limit/session_length_limit_observer.h View 1 1 chunk +27 lines, -0 lines 0 comments Download
A ash/system/session_length_limit/tray_session_length_limit.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
A ash/system/session_length_limit/tray_session_length_limit.cc View 1 1 chunk +307 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_notifier.h View 1 4 chunks +8 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_notifier.cc View 1 2 chunks +24 lines, -0 lines 0 comments Download
M ash/system/tray/test_system_tray_delegate.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/tray/test_system_tray_delegate.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 9 chunks +71 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
bartfab (slow)
Hi Steven, Please take a look.
8 years ago (2012-12-14 17:06:25 UTC) #1
stevenjb
We really need to pass the expired time and update the seconds in the tray ...
8 years ago (2012-12-14 18:02:21 UTC) #2
bartfab (slow)
Hi Steven, please take another look. https://chromiumcodereview.appspot.com/11568036/diff/1/ash/system/session_length_limit/session_length_limit_observer.h File ash/system/session_length_limit/session_length_limit_observer.h (right): https://chromiumcodereview.appspot.com/11568036/diff/1/ash/system/session_length_limit/session_length_limit_observer.h#newcode22 ash/system/session_length_limit/session_length_limit_observer.h:22: const base::TimeDelta& remaining) ...
8 years ago (2012-12-14 20:11:09 UTC) #3
stevenjb
This looks much better, thanks. LGTM
8 years ago (2012-12-14 20:18:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/11568036/5001
8 years ago (2012-12-15 08:42:14 UTC) #5
commit-bot: I haz the power
Presubmit check for 11568036-5001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-15 08:42:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/11568036/5001
8 years ago (2012-12-15 09:00:09 UTC) #7
bartfab (slow)
8 years ago (2012-12-15 12:04:52 UTC) #8
Message was sent while issue was closed.
Committed as http://crrev.com/173293

Powered by Google App Engine
This is Rietveld 408576698