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

Issue 8747022: Aura: Tooltips (Closed)

Created:
9 years ago by varunjain
Modified:
9 years ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su, dhollowa
Visibility:
Public.

Description

Aura: Tooltip refactor. This Cl does the following: * Add tooltip functionality to aura_shell that can be access through aura client API * Provide an implementation of views::TooltipManager for aura (TooltipManagerAura) that views can use to display/update tooltips in aura * Remove the no longer needed TooltipManagerViews. BUG=97249 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112399

Patch Set 1 #

Patch Set 2 : removed usage of window delegate. #

Total comments: 10

Patch Set 3 : modified according to comments #

Total comments: 6

Patch Set 4 : modified according to comments #

Patch Set 5 : merged with upstream #

Patch Set 6 : fix compile errors due to merge #

Patch Set 7 : moved test_tooltip_client to ui/views/test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+640 lines, -331 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ui/aura/aura.gyp View 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/client/aura_constants.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/aura/client/aura_constants.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
A ui/aura/client/tooltip_client.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M ui/aura_shell/aura_shell.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura_shell/shell.h View 3 chunks +7 lines, -0 lines 0 comments Download
M ui/aura_shell/shell.cc View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download
A ui/aura_shell/shell_tooltip_manager.h View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
A ui/aura_shell/shell_tooltip_manager.cc View 1 2 3 4 5 1 chunk +281 lines, -0 lines 0 comments Download
A ui/views/test/test_tooltip_client.h View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
A ui/views/test/test_tooltip_client.cc View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 3 4 3 chunks +5 lines, -8 lines 0 comments Download
A ui/views/widget/tooltip_manager_aura.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A ui/views/widget/tooltip_manager_aura.cc View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
D ui/views/widget/tooltip_manager_views.h View 1 2 3 4 1 chunk +0 lines, -80 lines 0 comments Download
D ui/views/widget/tooltip_manager_views.cc View 1 chunk +0 lines, -239 lines 0 comments Download
M views/views.gyp View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
varunjain
9 years ago (2011-11-30 19:47:19 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/8747022/diff/2001/ui/aura_shell/shell_tooltip_manager.cc File ui/aura_shell/shell_tooltip_manager.cc (right): http://codereview.chromium.org/8747022/diff/2001/ui/aura_shell/shell_tooltip_manager.cc#newcode53 ui/aura_shell/shell_tooltip_manager.cc:53: return monitor_bounds.width() == 0 ? 800 : (monitor_bounds.width() + ...
9 years ago (2011-11-30 21:54:19 UTC) #2
varunjain
http://codereview.chromium.org/8747022/diff/2001/ui/aura_shell/shell_tooltip_manager.cc File ui/aura_shell/shell_tooltip_manager.cc (right): http://codereview.chromium.org/8747022/diff/2001/ui/aura_shell/shell_tooltip_manager.cc#newcode53 ui/aura_shell/shell_tooltip_manager.cc:53: return monitor_bounds.width() == 0 ? 800 : (monitor_bounds.width() + ...
9 years ago (2011-11-30 22:42:07 UTC) #3
Ben Goodger (Google)
One last turn of the crank... simple stuff: http://codereview.chromium.org/8747022/diff/5002/ui/aura_shell/shell_tooltip_manager.h File ui/aura_shell/shell_tooltip_manager.h (right): http://codereview.chromium.org/8747022/diff/5002/ui/aura_shell/shell_tooltip_manager.h#newcode16 ui/aura_shell/shell_tooltip_manager.h:16: #include ...
9 years ago (2011-11-30 22:52:20 UTC) #4
varunjain
http://codereview.chromium.org/8747022/diff/5002/ui/aura_shell/shell_tooltip_manager.h File ui/aura_shell/shell_tooltip_manager.h (right): http://codereview.chromium.org/8747022/diff/5002/ui/aura_shell/shell_tooltip_manager.h#newcode16 ui/aura_shell/shell_tooltip_manager.h:16: #include "ui/base/events.h" On 2011/11/30 22:52:20, Ben Goodger (Google) wrote: ...
9 years ago (2011-11-30 23:25:52 UTC) #5
Ben Goodger (Google)
lgtm
9 years ago (2011-11-30 23:27:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/8747022/11007
9 years ago (2011-12-01 02:07:14 UTC) #7
commit-bot: I haz the power
9 years ago (2011-12-01 04:33:55 UTC) #8
Change committed as 112399

Powered by Google App Engine
This is Rietveld 408576698