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

Issue 9562008: ash uber tray: Add entry for power and date. (Closed)

Created:
8 years, 9 months ago by sadrul
Modified:
8 years, 9 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

ash uber tray: Add entry for power and date. BUG=110130 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=124690

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Total comments: 4

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Total comments: 19
Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -4 lines) Patch
M ash/ash.gyp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ash/shell.h View 1 3 chunks +6 lines, -1 line 2 comments Download
M ash/shell.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
A ash/system/power/power_status_controller.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A ash/system/power/power_supply_status.h View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
A ash/system/power/power_supply_status.cc View 1 2 3 4 5 6 7 8 1 chunk +44 lines, -0 lines 0 comments Download
A ash/system/power/tray_power_date.h View 1 2 3 4 5 6 7 1 chunk +51 lines, -0 lines 0 comments Download
A ash/system/power/tray_power_date.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +295 lines, -0 lines 13 comments Download
M ash/system/tray/system_tray.cc View 2 chunks +4 lines, -2 lines 4 comments Download
M chrome/browser/chromeos/dbus/power_manager_client.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/dbus/power_manager_client.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 3 chunks +9 lines, -1 line 0 comments Download
M ui/resources/ui_resources.grd View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sadrul
This doesn't really look as good as the mocks. But it's functional.
8 years, 9 months ago (2012-03-01 22:36:47 UTC) #1
Ben Goodger (Google)
lgtm http://codereview.chromium.org/9562008/diff/18/ash/system/power/tray_power_date.h File ash/system/power/tray_power_date.h (right): http://codereview.chromium.org/9562008/diff/18/ash/system/power/tray_power_date.h#newcode28 ash/system/power/tray_power_date.h:28: // Overridden from SystemTrayItem . http://codereview.chromium.org/9562008/diff/18/chrome/browser/chromeos/dbus/power_manager_client.h File chrome/browser/chromeos/dbus/power_manager_client.h ...
8 years, 9 months ago (2012-03-01 23:58:30 UTC) #2
sadrul
http://codereview.chromium.org/9562008/diff/18/ash/system/power/tray_power_date.h File ash/system/power/tray_power_date.h (right): http://codereview.chromium.org/9562008/diff/18/ash/system/power/tray_power_date.h#newcode28 ash/system/power/tray_power_date.h:28: // Overridden from SystemTrayItem On 2012/03/01 23:58:30, Ben Goodger ...
8 years, 9 months ago (2012-03-02 01:59:57 UTC) #3
sadrul
+stevenjb for chromeos/dbus/OWNERS
8 years, 9 months ago (2012-03-02 04:54:35 UTC) #4
stevenjb
lgtm http://codereview.chromium.org/9562008/diff/12001/ash/shell.h File ash/shell.h (right): http://codereview.chromium.org/9562008/diff/12001/ash/shell.h#newcode289 ash/shell.h:289: // These controllers are not owner by the ...
8 years, 9 months ago (2012-03-02 18:18:26 UTC) #5
sadrul
http://codereview.chromium.org/9562008/diff/12001/ash/shell.h File ash/shell.h (right): http://codereview.chromium.org/9562008/diff/12001/ash/shell.h#newcode289 ash/shell.h:289: // These controllers are not owner by the shell. ...
8 years, 9 months ago (2012-03-02 18:52:42 UTC) #6
stevenjb
http://codereview.chromium.org/9562008/diff/12001/ash/system/power/tray_power_date.cc File ash/system/power/tray_power_date.cc (right): http://codereview.chromium.org/9562008/diff/12001/ash/system/power/tray_power_date.cc#newcode52 ash/system/power/tray_power_date.cc:52: position); On 2012/03/02 18:52:42, sadrul wrote: > On 2012/03/02 ...
8 years, 9 months ago (2012-03-02 19:31:46 UTC) #7
sadrul
http://codereview.chromium.org/9562008/diff/12001/ash/system/power/tray_power_date.cc File ash/system/power/tray_power_date.cc (right): http://codereview.chromium.org/9562008/diff/12001/ash/system/power/tray_power_date.cc#newcode52 ash/system/power/tray_power_date.cc:52: position); On 2012/03/02 19:31:46, stevenjb (chromium) wrote: > On ...
8 years, 9 months ago (2012-03-02 19:34:54 UTC) #8
stevenjb
8 years, 9 months ago (2012-03-02 19:48:16 UTC) #9
On 2012/03/02 19:34:54, sadrul wrote:
>
http://codereview.chromium.org/9562008/diff/12001/ash/system/power/tray_power...
> File ash/system/power/tray_power_date.cc (right):
> 
>
http://codereview.chromium.org/9562008/diff/12001/ash/system/power/tray_power...
> ash/system/power/tray_power_date.cc:52: position);
> On 2012/03/02 19:31:46, stevenjb (chromium) wrote:
> > On 2012/03/02 18:52:42, sadrul wrote:
> > > On 2012/03/02 18:18:26, stevenjb (chromium) wrote:
> > > > nit: date_string on separate line, and aligned with first arg, or all
> three
> > > args
> > > > on second line.
> > > 
> > > Done. (style-guide allows both)
> > The chromium style guide says "put each argument on a separate line unless
> > everything fits on one line":
> >
>
https://sites.google.com/a/chromium.org/dev/developers/coding-style#TOC-Code-...
> > (This came up recently on a review of my own :) I forgot that even all args
on
> > the second line is against the style guide, although I see that a lot)
> 
> This is for function definitions. The next bullet: "When calling a function,
> however, feel free to collapse things to take less space.  Do whatever seems
> most readable" :)

Ugh, sorry, you're right, although I feel like I've had that feedback in
function calls too. Kind of wish those were consistent. I'll try to keep that in
mind though, thanks.

Powered by Google App Engine
This is Rietveld 408576698