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

Issue 10834140: aura: Fix launcher tooltips: (Closed)

Created:
8 years, 4 months ago by varunjain
Modified:
8 years, 4 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina, alicet1, sadrul, msw+watch_chromium.org, ben+watch_chromium.org, Jun Mukai, Zachary Kuznia
Visibility:
Public.

Description

aura: Fix launcher tooltips: 1. Refactor out app_list_bubble_border so that it can be used for launcher tooltip border. 2. UI polish: increase padding, make tooltip single line, reduce maximum tooltip width. BUG=133292 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149987

Patch Set 1 #

Patch Set 2 : patch #

Patch Set 3 : patch #

Total comments: 24

Patch Set 4 : patch #

Total comments: 4

Patch Set 5 : patch #

Total comments: 13

Patch Set 6 : patch #

Patch Set 7 : fix win_aura build #

Patch Set 8 : patch #

Total comments: 16

Patch Set 9 : patch #

Total comments: 2

Patch Set 10 : patch #

Patch Set 11 : minor change in tooltip text color #

Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -457 lines) Patch
M ash/launcher/launcher_tooltip_manager.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +68 lines, -8 lines 0 comments Download
M ui/app_list/app_list_bubble_border.h View 1 2 3 4 5 1 chunk +3 lines, -27 lines 0 comments Download
M ui/app_list/app_list_bubble_border.cc View 1 2 3 4 5 6 7 3 chunks +1 line, -287 lines 0 comments Download
M ui/app_list/app_list_view.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -25 lines 0 comments Download
M ui/views/bubble/bubble_border.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/bubble/bubble_border.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
A ui/views/bubble/bubble_border_2.h View 1 2 3 4 5 6 7 8 9 1 chunk +90 lines, -0 lines 0 comments Download
A + ui/views/bubble/bubble_border_2.cc View 1 2 3 4 5 6 7 8 9 13 chunks +152 lines, -104 lines 0 comments Download
M ui/views/bubble/bubble_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_delegate.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -1 line 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
varunjain
8 years, 4 months ago (2012-08-02 23:06:54 UTC) #1
msw
Driveby, mostly minor nits. This looks pretty decent; thanks! https://chromiumcodereview.appspot.com/10834140/diff/3008/ui/views/bubble/bubble_frame_view.cc File ui/views/bubble/bubble_frame_view.cc (right): https://chromiumcodereview.appspot.com/10834140/diff/3008/ui/views/bubble/bubble_frame_view.cc#newcode95 ui/views/bubble/bubble_frame_view.cc:95: ...
8 years, 4 months ago (2012-08-03 06:32:21 UTC) #2
varunjain
https://chromiumcodereview.appspot.com/10834140/diff/3008/ui/views/bubble/bubble_frame_view.cc File ui/views/bubble/bubble_frame_view.cc (right): https://chromiumcodereview.appspot.com/10834140/diff/3008/ui/views/bubble/bubble_frame_view.cc#newcode95 ui/views/bubble/bubble_frame_view.cc:95: // BubbleBackground also has a reference to border. So ...
8 years, 4 months ago (2012-08-03 15:17:43 UTC) #3
msw
LGTM with a couple nits; thank you! https://chromiumcodereview.appspot.com/10834140/diff/3010/ui/views/bubble/bubble_border_geometric.cc File ui/views/bubble/bubble_border_geometric.cc (right): https://chromiumcodereview.appspot.com/10834140/diff/3010/ui/views/bubble/bubble_border_geometric.cc#newcode122 ui/views/bubble/bubble_border_geometric.cc:122: views::BubbleBorder::NO_SHADOW), nit: ...
8 years, 4 months ago (2012-08-03 17:37:36 UTC) #4
varunjain
https://chromiumcodereview.appspot.com/10834140/diff/3010/ui/views/bubble/bubble_border_geometric.cc File ui/views/bubble/bubble_border_geometric.cc (right): https://chromiumcodereview.appspot.com/10834140/diff/3010/ui/views/bubble/bubble_border_geometric.cc#newcode122 ui/views/bubble/bubble_border_geometric.cc:122: views::BubbleBorder::NO_SHADOW), On 2012/08/03 17:37:37, msw wrote: > nit: this ...
8 years, 4 months ago (2012-08-03 17:47:38 UTC) #5
sky
LGTM - but change the name of BubbleBorderGeometric https://chromiumcodereview.appspot.com/10834140/diff/5012/ash/launcher/launcher_tooltip_manager.cc File ash/launcher/launcher_tooltip_manager.cc (right): https://chromiumcodereview.appspot.com/10834140/diff/5012/ash/launcher/launcher_tooltip_manager.cc#newcode85 ash/launcher/launcher_tooltip_manager.cc:85: }; ...
8 years, 4 months ago (2012-08-03 17:59:25 UTC) #6
msw
https://chromiumcodereview.appspot.com/10834140/diff/5012/ui/views/bubble/bubble_border_geometric.cc File ui/views/bubble/bubble_border_geometric.cc (right): https://chromiumcodereview.appspot.com/10834140/diff/5012/ui/views/bubble/bubble_border_geometric.cc#newcode29 ui/views/bubble/bubble_border_geometric.cc:29: const gfx::Point kShadowOffset(0, 5); Don't static init objects, use ...
8 years, 4 months ago (2012-08-03 18:08:26 UTC) #7
varunjain
https://chromiumcodereview.appspot.com/10834140/diff/5012/ash/launcher/launcher_tooltip_manager.cc File ash/launcher/launcher_tooltip_manager.cc (right): https://chromiumcodereview.appspot.com/10834140/diff/5012/ash/launcher/launcher_tooltip_manager.cc#newcode85 ash/launcher/launcher_tooltip_manager.cc:85: }; On 2012/08/03 17:59:25, sky wrote: > DISALLOW... Done. ...
8 years, 4 months ago (2012-08-03 18:22:42 UTC) #8
msw
Thanks for taking my thoughts into consideration, I think gfx::Insets is the right way to ...
8 years, 4 months ago (2012-08-03 19:55:45 UTC) #9
varunjain
https://chromiumcodereview.appspot.com/10834140/diff/5012/ui/views/bubble/bubble_border_geometric.h File ui/views/bubble/bubble_border_geometric.h (right): https://chromiumcodereview.appspot.com/10834140/diff/5012/ui/views/bubble/bubble_border_geometric.h#newcode83 ui/views/bubble/bubble_border_geometric.h:83: int anchor_edge_offset_; On 2012/08/03 19:55:46, msw wrote: > On ...
8 years, 4 months ago (2012-08-03 20:29:25 UTC) #10
msw
Fantastic! LGTM with nits, thank you! https://chromiumcodereview.appspot.com/10834140/diff/9004/ui/views/bubble/bubble_border.h File ui/views/bubble/bubble_border.h (right): https://chromiumcodereview.appspot.com/10834140/diff/9004/ui/views/bubble/bubble_border.h#newcode121 ui/views/bubble/bubble_border.h:121: virtual int border_thickness() ...
8 years, 4 months ago (2012-08-03 20:42:00 UTC) #11
varunjain
https://chromiumcodereview.appspot.com/10834140/diff/9004/ui/views/bubble/bubble_border.h File ui/views/bubble/bubble_border.h (right): https://chromiumcodereview.appspot.com/10834140/diff/9004/ui/views/bubble/bubble_border.h#newcode121 ui/views/bubble/bubble_border.h:121: virtual int border_thickness() const; On 2012/08/03 20:42:00, msw wrote: ...
8 years, 4 months ago (2012-08-03 20:54:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10834140/13003
8 years, 4 months ago (2012-08-03 20:56:30 UTC) #13
msw
Still LGTM w/1 optional nit; fine to commit as-is though. https://chromiumcodereview.appspot.com/10834140/diff/13003/ui/views/bubble/bubble_border.h File ui/views/bubble/bubble_border.h (right): https://chromiumcodereview.appspot.com/10834140/diff/13003/ui/views/bubble/bubble_border.h#newcode121 ...
8 years, 4 months ago (2012-08-03 20:57:53 UTC) #14
varunjain
https://chromiumcodereview.appspot.com/10834140/diff/13003/ui/views/bubble/bubble_border.h File ui/views/bubble/bubble_border.h (right): https://chromiumcodereview.appspot.com/10834140/diff/13003/ui/views/bubble/bubble_border.h#newcode121 ui/views/bubble/bubble_border.h:121: virtual int BorderThickness() const; On 2012/08/03 20:57:54, msw wrote: ...
8 years, 4 months ago (2012-08-03 21:10:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10834140/4015
8 years, 4 months ago (2012-08-03 21:11:03 UTC) #16
commit-bot: I haz the power
8 years, 4 months ago (2012-08-03 23:01:38 UTC) #17
Try job failure for 10834140-4015 (retry) (retry) on win_rel for step "compile"
(clobber build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698