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

Issue 7491083: Implemented nicer battery status (Closed)

Created:
9 years, 4 months ago by DaveMoore
Modified:
9 years, 4 months ago
Reviewers:
achuithb, stevenjb
CC:
chromium-reviews, davemoore+watch_chromium.org, dhollowa
Visibility:
Public.

Description

Implemented nicer battery status BUG=chromium-os:17469 TEST=Click battery icon, confirm it meets spec Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96643

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Fix tests #

Patch Set 4 : Fixed unitialized ivars #

Total comments: 18

Patch Set 5 : Review changes #

Total comments: 2

Patch Set 6 : Review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -239 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
D chrome/app/theme/statusbar_battery10c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery10d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery11c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery11d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery12c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery12d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery13c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery13d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery14c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery14d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery15c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery15d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery16c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery16d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery17c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery17d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery18c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery18d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery19c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery19d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery1c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery1d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery2c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery2d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery3c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery3d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery4c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery4d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery5c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery5d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery6c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery6d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery7c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery7d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery8c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery8d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery9c.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery9d.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery_charged.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery_missing.png View Binary file 0 comments Download
D chrome/app/theme/statusbar_battery_unknown.png View Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 1 chunk +2 lines, -41 lines 0 comments Download
M chrome/browser/chromeos/cros/power_library.cc View 1 2 3 4 5 2 chunks +74 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/status/power_menu_button.h View 1 2 2 chunks +9 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/status/power_menu_button.cc View 1 2 3 4 8 chunks +251 lines, -109 lines 0 comments Download
M chrome/browser/chromeos/status/power_menu_button_browsertest.cc View 1 2 6 chunks +13 lines, -60 lines 0 comments Download
M chrome/browser/chromeos/status/status_area_button.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/canvas_skia_linux.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M views/controls/menu/menu_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M views/controls/menu/menu_item_view.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M views/controls/menu/menu_item_view.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M views/controls/menu/menu_item_view_gtk.cc View 1 chunk +7 lines, -1 line 0 comments Download
M views/controls/menu/menu_item_view_win.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M views/controls/menu/submenu_view.h View 3 chunks +10 lines, -0 lines 0 comments Download
M views/controls/menu/submenu_view.cc View 2 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
DaveMoore
9 years, 4 months ago (2011-08-07 22:33:54 UTC) #1
achuithb
I don't understand enough about the menu/submenu controls in views to review that part of ...
9 years, 4 months ago (2011-08-09 18:58:07 UTC) #2
DaveMoore
Adding stevenjb http://codereview.chromium.org/7491083/diff/5001/chrome/browser/chromeos/cros/power_library.cc File chrome/browser/chromeos/cros/power_library.cc (right): http://codereview.chromium.org/7491083/diff/5001/chrome/browser/chromeos/cros/power_library.cc#newcode166 chrome/browser/chromeos/cros/power_library.cc:166: class PowerLibraryStubImpl : public PowerLibrary { On ...
9 years, 4 months ago (2011-08-12 21:03:10 UTC) #3
stevenjb
http://codereview.chromium.org/7491083/diff/12001/chrome/browser/chromeos/cros/power_library.cc File chrome/browser/chromeos/cros/power_library.cc (right): http://codereview.chromium.org/7491083/diff/12001/chrome/browser/chromeos/cros/power_library.cc#newcode216 chrome/browser/chromeos/cros/power_library.cc:216: if (battery_percentage_ == 0) 100?
9 years, 4 months ago (2011-08-12 22:03:49 UTC) #4
DaveMoore
http://codereview.chromium.org/7491083/diff/12001/chrome/browser/chromeos/cros/power_library.cc File chrome/browser/chromeos/cros/power_library.cc (right): http://codereview.chromium.org/7491083/diff/12001/chrome/browser/chromeos/cros/power_library.cc#newcode216 chrome/browser/chromeos/cros/power_library.cc:216: if (battery_percentage_ == 0) On 2011/08/12 22:03:49, Steven Bennetts ...
9 years, 4 months ago (2011-08-12 22:23:11 UTC) #5
stevenjb
9 years, 4 months ago (2011-08-12 22:31:57 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698