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

Issue 12180027: Add spinner UI to show bluetooth is discovering devices. (Closed)

Created:
7 years, 10 months ago by jennyz
Modified:
7 years, 10 months ago
Reviewers:
stevenjb, sadrul, sky
CC:
chromium-reviews, tfarina, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Add spinner UI to show bluetooth is discovering devices. For M26, I used the default image from Throbber. We may polish the UI with better asset in M27. Add an interactive_ flag in Throbber to allow it become non-interactive so that the tooltip will show up when user hover the mouse on the Throbber who is the child view of ThrobberView class. BUG=172676 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180824

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix nits and remove interactive_ from Throbber. #

Patch Set 3 : Add a subclass of SmoothedThrobber and override GetTooltipText to show tooltip on throbber. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -1 line) Patch
M ash/system/bluetooth/tray_bluetooth.cc View 4 chunks +12 lines, -1 line 0 comments Download
M ash/system/tray/tray_views.h View 1 2 3 chunks +49 lines, -0 lines 0 comments Download
M ash/system/tray/tray_views.cc View 1 2 4 chunks +98 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jennyz
7 years, 10 months ago (2013-02-05 01:03:09 UTC) #1
stevenjb
You'll need someone to review ui/views changes. I won't insist on this now, but tray_views.h ...
7 years, 10 months ago (2013-02-05 01:25:48 UTC) #2
jennyz
On 2013/02/05 01:25:48, stevenjb (chromium) wrote: > You'll need someone to review ui/views changes. > ...
7 years, 10 months ago (2013-02-05 01:39:08 UTC) #3
jennyz
7 years, 10 months ago (2013-02-05 01:39:14 UTC) #4
sadrul
LGTM +sky@ to see if he has opinions on HitTestRect() vs HasHitTestMask(). https://codereview.chromium.org/12180027/diff/1/ash/system/tray/tray_views.h File ash/system/tray/tray_views.h ...
7 years, 10 months ago (2013-02-05 02:31:41 UTC) #5
sky
https://codereview.chromium.org/12180027/diff/1/ui/views/controls/throbber.cc File ui/views/controls/throbber.cc (right): https://codereview.chromium.org/12180027/diff/1/ui/views/controls/throbber.cc#newcode93 ui/views/controls/throbber.cc:93: return interactive_ ? View::HitTestRect(rect) : false; Why do you ...
7 years, 10 months ago (2013-02-05 15:58:52 UTC) #6
jennyz
https://codereview.chromium.org/12180027/diff/1/ash/system/tray/tray_views.h File ash/system/tray/tray_views.h (right): https://codereview.chromium.org/12180027/diff/1/ash/system/tray/tray_views.h#newcode282 ash/system/tray/tray_views.h:282: virtual gfx::Size GetPreferredSize() OVERRIDE; On 2013/02/05 02:31:42, sadrul wrote: ...
7 years, 10 months ago (2013-02-05 17:37:20 UTC) #7
jennyz
7 years, 10 months ago (2013-02-05 17:38:13 UTC) #8
jennyz
sky@, I removed the change in Throbber and added a subclass of SmoothedThrobber which overrides ...
7 years, 10 months ago (2013-02-05 19:06:08 UTC) #9
sky
Thanks! Now that you removed all the views changes you no longer need me to ...
7 years, 10 months ago (2013-02-05 20:52:33 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/12180027/16001
7 years, 10 months ago (2013-02-05 21:16:58 UTC) #11
jennyz
7 years, 10 months ago (2013-02-06 00:14:09 UTC) #12
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698