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

Issue 10540041: Add battery status to settings row in uber tray bubble. (Closed)

Created:
8 years, 6 months ago by jennyz
Modified:
8 years, 6 months ago
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 battery status to settings row in uber tray bubble. BUG=127771 TEST=power status showing on settings row if the battery presents. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141237

Patch Set 1 #

Total comments: 26

Patch Set 2 : Address code review comments. #

Patch Set 3 : Do not show settings if user is not logined in or screen is locked. #

Total comments: 8

Patch Set 4 : Fix nits. #

Total comments: 2

Patch Set 5 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+414 lines, -214 lines) Patch
M ash/ash.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/ash_strings.grd View 2 chunks +6 lines, -0 lines 0 comments Download
A ash/system/power/power_status_view.h View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
A ash/system/power/power_status_view.cc View 1 2 3 1 chunk +187 lines, -0 lines 0 comments Download
M ash/system/power/tray_power.h View 1 2 chunks +14 lines, -0 lines 0 comments Download
M ash/system/power/tray_power.cc View 1 7 chunks +35 lines, -180 lines 0 comments Download
M ash/system/settings/tray_settings.h View 1 2 chunks +12 lines, -1 line 0 comments Download
M ash/system/settings/tray_settings.cc View 1 2 5 chunks +83 lines, -24 lines 0 comments Download
M ash/system/tray/system_tray.h View 1 3 chunks +4 lines, -3 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jennyz
8 years, 6 months ago (2012-06-07 01:10:22 UTC) #1
stevenjb
http://codereview.chromium.org/10540041/diff/1/ash/system/power/power_status_view.cc File ash/system/power/power_status_view.cc (right): http://codereview.chromium.org/10540041/diff/1/ash/system/power/power_status_view.cc#newcode43 ash/system/power/power_status_view.cc:43: } I realize that I set the precedent, but ...
8 years, 6 months ago (2012-06-07 01:31:18 UTC) #2
sadrul
http://codereview.chromium.org/10540041/diff/1/ash/system/power/power_status_view.cc File ash/system/power/power_status_view.cc (right): http://codereview.chromium.org/10540041/diff/1/ash/system/power/power_status_view.cc#newcode33 ash/system/power/power_status_view.cc:33: PowerStatusView::PowerStatusView(ViewType view_type) : : in the next line http://codereview.chromium.org/10540041/diff/1/ash/system/tray/system_tray.cc ...
8 years, 6 months ago (2012-06-07 15:14:35 UTC) #3
jennyz
One more issue I found when testing the patch on lumpy: When user switch between ...
8 years, 6 months ago (2012-06-07 22:06:51 UTC) #4
jennyz
By the way, I filed crosbug.com/31633 against the garbage PowerSupplyStatus data issue.
8 years, 6 months ago (2012-06-07 22:25:57 UTC) #5
jennyz
I found an issue of clicking settings row in uber tray when user is not ...
8 years, 6 months ago (2012-06-07 23:20:19 UTC) #6
sadrul
LGTM with the nits addressed http://codereview.chromium.org/10540041/diff/10004/ash/system/power/power_status_view.cc File ash/system/power/power_status_view.cc (right): http://codereview.chromium.org/10540041/diff/10004/ash/system/power/power_status_view.cc#newcode34 ash/system/power/power_status_view.cc:34: view_type_(view_type) { Initialize all ...
8 years, 6 months ago (2012-06-08 13:22:39 UTC) #7
jennyz
http://codereview.chromium.org/10540041/diff/10004/ash/system/power/power_status_view.cc File ash/system/power/power_status_view.cc (right): http://codereview.chromium.org/10540041/diff/10004/ash/system/power/power_status_view.cc#newcode34 ash/system/power/power_status_view.cc:34: view_type_(view_type) { On 2012/06/08 13:22:39, sadrul wrote: > Initialize ...
8 years, 6 months ago (2012-06-08 16:48:03 UTC) #8
stevenjb (google-dont-use)
lgtm w/ nit http://codereview.chromium.org/10540041/diff/1013/ash/system/power/power_status_view.h File ash/system/power/power_status_view.h (right): http://codereview.chromium.org/10540041/diff/1013/ash/system/power/power_status_view.h#newcode20 ash/system/power/power_status_view.h:20: // This view is used only ...
8 years, 6 months ago (2012-06-08 17:11:16 UTC) #9
jennyz
http://codereview.chromium.org/10540041/diff/1013/ash/system/power/power_status_view.h File ash/system/power/power_status_view.h (right): http://codereview.chromium.org/10540041/diff/1013/ash/system/power/power_status_view.h#newcode20 ash/system/power/power_status_view.h:20: // This view is used only for the popup. ...
8 years, 6 months ago (2012-06-08 17:29:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/10540041/13
8 years, 6 months ago (2012-06-08 17:47:49 UTC) #11
commit-bot: I haz the power
Presubmit check for 10540041-13 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 6 months ago (2012-06-08 17:47:54 UTC) #12
jennyz
Add ash OWNER review.
8 years, 6 months ago (2012-06-08 17:51:24 UTC) #13
sky
8 years, 6 months ago (2012-06-08 17:57:56 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld 408576698