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

Issue 3158014: Added tooltips to stats bar items. (Closed)

Created:
10 years, 4 months ago by stevenjb
Modified:
9 years, 7 months ago
CC:
chromium-reviews, davemoore+watch_chromium.org, ben+cc_chromium.org, Yusuke Sato, Paweł Hajdan Jr., nkostylev+cc_chromium.org
Visibility:
Public.

Description

Added tooltips to stats bar items. BUG=chromium-os:5601 (http://code.google.com/p/chromium-os/issues/detail?id=5601) TEST=Check that hover text over status bar icons seems reasonable. Test different states of network (disconnected, ethernet, connecting to a wifi network, connected to a wifi network) and battery (plugged in, unplugged). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57234 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58526

Patch Set 1 #

Total comments: 19

Patch Set 2 : Some changes based on feedback. Still need to get i18n / product team feedback. #

Total comments: 4

Patch Set 3 : Reverted language menu button changes since there were already tooltips (doh!) #

Patch Set 4 : rebase #

Patch Set 5 : Fix for tests. #

Patch Set 6 : Refactored PowerMenuButton update and browsertest. #

Total comments: 2

Patch Set 7 : Moved label generation logic back to GetLabelAt, storing libcros data instead. #

Patch Set 8 : Fixed browser tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -86 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_mock.cc View 5 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/login_browsertest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status/clock_menu_button.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/status/feedback_menu_button.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu_button.cc View 1 2 chunks +24 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/status/power_menu_button.h View 6 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/status/power_menu_button.cc View 1 2 3 4 5 6 7 5 chunks +78 lines, -63 lines 0 comments Download
M chrome/browser/chromeos/status/power_menu_button_browsertest.cc View 4 chunks +72 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
stevenjb
I did a first pass of what seemed like reasonable tooltips for the stats bar ...
10 years, 4 months ago (2010-08-16 21:55:08 UTC) #1
Charlie Lee
I think you should move the networks_name logic to network_menu_button. The tooltip should match the ...
10 years, 4 months ago (2010-08-17 16:56:33 UTC) #2
stevenjb
OK, I'll combine the tooltip logic with the icon logic. http://codereview.chromium.org/3158014/diff/1/3 File chrome/browser/chromeos/cros/network_library.cc (right): http://codereview.chromium.org/3158014/diff/1/3#newcode265 ...
10 years, 4 months ago (2010-08-17 17:11:52 UTC) #3
oshima
+satorux for language menu tooltips
10 years, 4 months ago (2010-08-17 22:00:23 UTC) #4
DaveMoore
http://codereview.chromium.org/3158014/diff/1/3 File chrome/browser/chromeos/cros/network_library.cc (right): http://codereview.chromium.org/3158014/diff/1/3#newcode254 chrome/browser/chromeos/cros/network_library.cc:254: || (ethernet_.connecting() Most chrome code puts the operator at ...
10 years, 4 months ago (2010-08-18 14:51:05 UTC) #5
stevenjb
Some changes based on feedback. Still need to get i18n / product team feedback. http://codereview.chromium.org/3158014/diff/1/3 ...
10 years, 4 months ago (2010-08-18 16:33:53 UTC) #6
satorux1
http://codereview.chromium.org/3158014/diff/12001/13001 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/3158014/diff/12001/13001#newcode8826 chrome/app/generated_resources.grd:8826: Language Please remove this. http://codereview.chromium.org/3158014/diff/12001/13004 File chrome/browser/chromeos/status/language_menu_button.cc (right): http://codereview.chromium.org/3158014/diff/12001/13004#newcode143 ...
10 years, 4 months ago (2010-08-19 02:17:33 UTC) #7
stevenjb
Fixes based on feedback completed. Only remaining issue is what to do for the power ...
10 years, 4 months ago (2010-08-20 22:53:56 UTC) #8
satorux1
http://codereview.chromium.org/3158014/diff/12001/13004 File chrome/browser/chromeos/status/language_menu_button.cc (right): http://codereview.chromium.org/3158014/diff/12001/13004#newcode143 chrome/browser/chromeos/status/language_menu_button.cc:143: SetTooltipText(l10n_util::GetString(IDS_STATUSBAR_LANGUAGE_TOOLTIP)); On 2010/08/20 22:53:56, Steven Bennetts wrote: > On ...
10 years, 4 months ago (2010-08-20 22:58:53 UTC) #9
DaveMoore
LGTM
10 years, 4 months ago (2010-08-24 15:34:07 UTC) #10
stevenjb
I failed to notice that the changes to power_menu_button.cc caused many tests to fail. In ...
10 years, 4 months ago (2010-08-25 20:04:21 UTC) #11
DaveMoore
http://codereview.chromium.org/3158014/diff/29001/30007 File chrome/browser/chromeos/status/power_menu_button.cc (right): http://codereview.chromium.org/3158014/diff/29001/30007#newcode201 chrome/browser/chromeos/status/power_menu_button.cc:201: labels_.push_back(l10n_util::GetStringFUTF16(msg, hour_str, min_str)); There is no need to store ...
10 years, 3 months ago (2010-08-31 16:07:00 UTC) #12
stevenjb
http://codereview.chromium.org/3158014/diff/29001/30007 File chrome/browser/chromeos/status/power_menu_button.cc (right): http://codereview.chromium.org/3158014/diff/29001/30007#newcode201 chrome/browser/chromeos/status/power_menu_button.cc:201: labels_.push_back(l10n_util::GetStringFUTF16(msg, hour_str, min_str)); On 2010/08/31 16:07:01, davemoore wrote: > ...
10 years, 3 months ago (2010-09-01 01:27:33 UTC) #13
DaveMoore
10 years, 3 months ago (2010-09-02 14:56:52 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld 408576698