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

Issue 8821028: aura: Draw shadows around tooltip windows. (Closed)

Created:
9 years ago by Daniel Erat
Modified:
9 years ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, Paweł Hajdan Jr., sadrul, tfarina, ben+watch_chromium.org
Visibility:
Public.

Description

aura: Draw shadows around tooltip windows. Also, add padding around the tooltip text and disable the border when shadows are enabled. I'm also updating the existing shadow code in aura_shell to clip corner images as needed when they're too large to fit within the requested size. BUG=106507 TEST=added Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113294

Patch Set 1 #

Patch Set 2 : add a const #

Patch Set 3 : add a TODO #

Total comments: 6

Patch Set 4 : apply review feedback #

Patch Set 5 : increase horizontal padding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -38 lines) Patch
M ui/aura_shell/image_grid.h View 1 2 3 2 chunks +24 lines, -0 lines 0 comments Download
M ui/aura_shell/image_grid.cc View 1 4 chunks +87 lines, -23 lines 0 comments Download
M ui/aura_shell/image_grid_unittest.cc View 1 2 3 2 chunks +72 lines, -1 line 0 comments Download
M ui/aura_shell/shell_tooltip_manager.cc View 1 2 3 4 5 chunks +30 lines, -13 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Daniel Erat
Varun, mind reviewing the tooltip changes? Ben, mind looking at and approving the rest? Before-and-after ...
9 years ago (2011-12-06 19:13:31 UTC) #1
varunjain
http://codereview.chromium.org/8821028/diff/4001/ui/aura_shell/shell_tooltip_manager.cc File ui/aura_shell/shell_tooltip_manager.cc (right): http://codereview.chromium.org/8821028/diff/4001/ui/aura_shell/shell_tooltip_manager.cc#newcode70 ui/aura_shell/shell_tooltip_manager.cc:70: aura::TooltipClient::GetMaxWidth(x, y) - 2 * kTooltipHorizontalPadding; I think you ...
9 years ago (2011-12-06 19:25:38 UTC) #2
Ben Goodger (Google)
LGTM from a high level perspective. i'll leave it to you to sort out presentation/layout ...
9 years ago (2011-12-06 19:27:03 UTC) #3
Daniel Erat
Thanks. Another look, Varun? http://codereview.chromium.org/8821028/diff/4001/ui/aura_shell/image_grid.h File ui/aura_shell/image_grid.h (right): http://codereview.chromium.org/8821028/diff/4001/ui/aura_shell/image_grid.h#newcode84 ui/aura_shell/image_grid.h:84: gfx::Rect GetTopLeftClipRect() const { On ...
9 years ago (2011-12-06 21:34:18 UTC) #4
varunjain
LGTM Thanks! On 2011/12/06 21:34:18, Daniel Erat wrote: > Thanks. Another look, Varun? > > ...
9 years ago (2011-12-06 21:50:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/8821028/8002
9 years ago (2011-12-06 22:10:24 UTC) #6
commit-bot: I haz the power
9 years ago (2011-12-06 23:45:53 UTC) #7
Change committed as 113294

Powered by Google App Engine
This is Rietveld 408576698