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

Issue 262973004: Move session length timer into tray bubble. (Closed)

Created:
6 years, 7 months ago by Thiemo Nagel
Modified:
6 years, 7 months ago
CC:
chromium-reviews, kalyank, stevenjb+watch_chromium.org, sadrul, oshima+watch_chromium.org, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move session length timer into tray bubble. BUG=287784 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269813

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Address Steven's comments. #

Total comments: 30

Patch Set 3 : Fixes and improvements, mostly suggested by Bartosz. #

Total comments: 2

Patch Set 4 : Rebase. #

Patch Set 5 : Reduce memory footprint and address Bartosz' other comments. #

Total comments: 11

Patch Set 6 : Taking into account Bartosz' comments. #

Patch Set 7 : Rebase. #

Patch Set 8 : Improve strings after discussion with Chrome UI Review. #

Patch Set 9 : Fix bad memory access in unit test. #

Patch Set 10 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -388 lines) Patch
M ash/ash_strings.grd View 1 2 3 4 5 6 7 1 chunk +4 lines, -4 lines 0 comments Download
M ash/resources/ash_resources.grd View 1 2 3 4 5 6 3 chunks +2 lines, -1 line 0 comments Download
A ash/resources/default_100_percent/cros/notification/notification_session_length_timer.png View 1 2 Binary file 0 comments Download
D ash/resources/default_100_percent/cros/status/status_session_length_limit_timer.png View Binary file 0 comments Download
A ash/resources/default_100_percent/cros/status/status_session_length_timer.png View 1 2 Binary file 0 comments Download
A ash/resources/default_200_percent/cros/notification/notification_session_length_timer.png View 1 2 Binary file 0 comments Download
D ash/resources/default_200_percent/cros/status/status_session_length_limit_timer.png View Binary file 0 comments Download
A ash/resources/default_200_percent/cros/status/status_session_length_timer.png View 1 2 Binary file 0 comments Download
M ash/system/chromeos/session/tray_session_length_limit.h View 1 2 3 4 5 3 chunks +21 lines, -15 lines 0 comments Download
M ash/system/chromeos/session/tray_session_length_limit.cc View 1 2 3 4 5 3 chunks +118 lines, -307 lines 0 comments Download
M ash/system/chromeos/session/tray_session_length_limit_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +23 lines, -58 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Thiemo Nagel
Hi Steven, could you please be so kind to take a look a this? Thank ...
6 years, 7 months ago (2014-05-02 19:15:40 UTC) #1
Thiemo Nagel
Hi Bartosz, Mitsuru, Steven, (as a more precise update to my previous email) I'd like ...
6 years, 7 months ago (2014-05-02 19:35:22 UTC) #2
oshima
On 2014/05/02 19:35:22, Thiemo Nagel wrote: > Hi Bartosz, Mitsuru, Steven, > > (as a ...
6 years, 7 months ago (2014-05-02 19:39:10 UTC) #3
stevenjb
https://codereview.chromium.org/262973004/diff/20001/ash/system/chromeos/session/tray_session_length_limit.cc File ash/system/chromeos/session/tray_session_length_limit.cc (right): https://codereview.chromium.org/262973004/diff/20001/ash/system/chromeos/session/tray_session_length_limit.cc#newcode46 ash/system/chromeos/session/tray_session_length_limit.cc:46: last_tray_bubble_message_(base::ASCIIToUTF16("")), No need to initialize strings https://codereview.chromium.org/262973004/diff/20001/ash/system/chromeos/session/tray_session_length_limit.cc#newcode121 ash/system/chromeos/session/tray_session_length_limit.cc:121: notification_message_ ...
6 years, 7 months ago (2014-05-02 19:40:01 UTC) #4
Thiemo Nagel
Hi Mitsuru and Steven, great many thanks for your lightening-fast replies! I've updated the CL ...
6 years, 7 months ago (2014-05-02 20:05:19 UTC) #5
stevenjb
lgtm
6 years, 7 months ago (2014-05-02 20:43:29 UTC) #6
bartfab (slow)
https://codereview.chromium.org/262973004/diff/40001/ash/ash_strings.grd File ash/ash_strings.grd (right): https://codereview.chromium.org/262973004/diff/40001/ash/ash_strings.grd#newcode519 ash/ash_strings.grd:519: This session will end in <ph name="session_time_remaining">$1<ex>4 minutes 23 ...
6 years, 7 months ago (2014-05-05 13:45:04 UTC) #7
Thiemo Nagel
Hi Bartosz, thanks a lot for your thorough review! I think I've addressed most of ...
6 years, 7 months ago (2014-05-05 14:48:40 UTC) #8
bartfab (slow)
https://codereview.chromium.org/262973004/diff/40001/ash/system/chromeos/session/tray_session_length_limit.cc File ash/system/chromeos/session/tray_session_length_limit.cc (right): https://codereview.chromium.org/262973004/diff/40001/ash/system/chromeos/session/tray_session_length_limit.cc#newcode119 ash/system/chromeos/session/tray_session_length_limit.cc:119: switch (limit_state_) { On 2014/05/05 14:48:41, Thiemo Nagel wrote: ...
6 years, 7 months ago (2014-05-05 17:49:57 UTC) #9
Thiemo Nagel
Hi Bartosz, thanks for the enlightening discussion! I hope I've addressed everything now. Could you ...
6 years, 7 months ago (2014-05-06 14:27:59 UTC) #10
bartfab (slow)
https://codereview.chromium.org/262973004/diff/130001/ash/system/chromeos/session/tray_session_length_limit.cc File ash/system/chromeos/session/tray_session_length_limit.cc (right): https://codereview.chromium.org/262973004/diff/130001/ash/system/chromeos/session/tray_session_length_limit.cc#newcode59 ash/system/chromeos/session/tray_session_length_limit.cc:59: base::string16 TraySessionLengthLimit::ComposeNotificationMessage() const { Nit 1: Re-arrange methods so ...
6 years, 7 months ago (2014-05-06 17:57:00 UTC) #11
Thiemo Nagel
Hi Bartosz, thanks a lot for your comments! I do only partially agree -- but ...
6 years, 7 months ago (2014-05-06 18:49:06 UTC) #12
bartfab (slow)
lgtm https://codereview.chromium.org/262973004/diff/130001/ash/system/chromeos/session/tray_session_length_limit.h File ash/system/chromeos/session/tray_session_length_limit.h (right): https://codereview.chromium.org/262973004/diff/130001/ash/system/chromeos/session/tray_session_length_limit.h#newcode73 ash/system/chromeos/session/tray_session_length_limit.h:73: LimitState limit_state_; // Current state. On 2014/05/06 18:49:06, ...
6 years, 7 months ago (2014-05-07 12:30:52 UTC) #13
Thiemo Nagel
The CQ bit was checked by tnagel@chromium.org
6 years, 7 months ago (2014-05-07 15:22:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tnagel@chromium.org/262973004/200013
6 years, 7 months ago (2014-05-07 15:26:26 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 19:52:35 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 22:33:18 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 23:04:08 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 00:34:01 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium
6 years, 7 months ago (2014-05-08 00:34:02 UTC) #20
Thiemo Nagel
The CQ bit was checked by tnagel@chromium.org
6 years, 7 months ago (2014-05-08 04:25:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tnagel@chromium.org/262973004/200013
6 years, 7 months ago (2014-05-08 04:28:46 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 05:25:57 UTC) #23
Thiemo Nagel
The CQ bit was unchecked by tnagel@chromium.org
6 years, 7 months ago (2014-05-08 21:51:39 UTC) #24
Thiemo Nagel
The CQ bit was checked by tnagel@chromium.org
6 years, 7 months ago (2014-05-12 14:33:51 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tnagel@chromium.org/262973004/220001
6 years, 7 months ago (2014-05-12 14:34:12 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-12 15:18:18 UTC) #27
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 18:09:10 UTC) #28
Message was sent while issue was closed.
Change committed as 269813

Powered by Google App Engine
This is Rietveld 408576698