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

Issue 8371024: Enable tooltips for aura. (Closed)

Created:
9 years, 2 months ago by varunjain
Modified:
9 years, 1 month ago
CC:
chromium-reviews, tfarina, dhollowa, oshima
Visibility:
Public.

Description

Enable tooltips for aura. BUG=97249 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107630

Patch Set 1 #

Patch Set 2 : minor changes #

Patch Set 3 : minor changes #

Patch Set 4 : minor changes #

Patch Set 5 : added tooltips to RWHVA #

Patch Set 6 : minor changes #

Total comments: 2

Patch Set 7 : minor changes #

Patch Set 8 : modified according to comments #

Patch Set 9 : added file missing in previous patch #

Total comments: 1

Patch Set 10 : modified according to comments #

Patch Set 11 : added file missing in previous patch #

Total comments: 2

Patch Set 12 : modified according to comments #

Patch Set 13 : moved aura_constants back to aura #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -31 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -1 line 4 comments Download
M ui/aura/aura.gyp View 1 2 3 4 5 6 7 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
A ui/aura/aura_constants.h View 1 2 3 4 5 6 7 8 10 11 12 1 chunk +17 lines, -0 lines 0 comments Download
M views/widget/native_widget_aura.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M views/widget/native_widget_aura.cc View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -2 lines 0 comments Download
M views/widget/tooltip_manager_views.h View 1 2 3 2 chunks +2 lines, -6 lines 0 comments Download
M views/widget/tooltip_manager_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +47 lines, -22 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
varunjain
9 years, 2 months ago (2011-10-24 16:41:16 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/8371024/diff/11001/ui/aura/window.h File ui/aura/window.h (right): http://codereview.chromium.org/8371024/diff/11001/ui/aura/window.h#newcode71 ui/aura/window.h:71: const string16& tooltip() const { return tooltip_; } Seems ...
9 years, 2 months ago (2011-10-25 22:24:44 UTC) #2
varunjain
http://codereview.chromium.org/8371024/diff/11001/ui/aura/window.h File ui/aura/window.h (right): http://codereview.chromium.org/8371024/diff/11001/ui/aura/window.h#newcode71 ui/aura/window.h:71: const string16& tooltip() const { return tooltip_; } On ...
9 years, 2 months ago (2011-10-25 22:35:05 UTC) #3
Ben Goodger (Google)
OK I looked at your code a bit more. I don't think we should explicitly ...
9 years, 2 months ago (2011-10-25 22:41:21 UTC) #4
varunjain
On 2011/10/25 22:41:21, Ben Goodger (Google) wrote: > OK I looked at your code a ...
9 years, 1 month ago (2011-10-26 04:44:48 UTC) #5
Ben Goodger (Google)
http://codereview.chromium.org/8371024/diff/16008/ui/aura/aura_constants.h File ui/aura/aura_constants.h (right): http://codereview.chromium.org/8371024/diff/16008/ui/aura/aura_constants.h#newcode13 ui/aura/aura_constants.h:13: AURA_EXPORT const char* kTooltipTextKey = "TooltipTextKey"; this file should ...
9 years, 1 month ago (2011-10-26 19:11:22 UTC) #6
varunjain
On 2011/10/26 19:11:22, Ben Goodger (Google) wrote: > http://codereview.chromium.org/8371024/diff/16008/ui/aura/aura_constants.h > File ui/aura/aura_constants.h (right): > > ...
9 years, 1 month ago (2011-10-27 04:01:29 UTC) #7
Ben Goodger (Google)
Cool. LGTM. http://codereview.chromium.org/8371024/diff/22003/ui/aura_shell/aura_constants.h File ui/aura_shell/aura_constants.h (right): http://codereview.chromium.org/8371024/diff/22003/ui/aura_shell/aura_constants.h#newcode5 ui/aura_shell/aura_constants.h:5: #ifndef UI_AURA_SHELL_AURA_CONSTANTS_H_ aura_shell_constants.h, etc for the include ...
9 years, 1 month ago (2011-10-27 15:39:11 UTC) #8
varunjain
http://codereview.chromium.org/8371024/diff/22003/ui/aura_shell/aura_constants.h File ui/aura_shell/aura_constants.h (right): http://codereview.chromium.org/8371024/diff/22003/ui/aura_shell/aura_constants.h#newcode5 ui/aura_shell/aura_constants.h:5: #ifndef UI_AURA_SHELL_AURA_CONSTANTS_H_ On 2011/10/27 15:39:11, Ben Goodger (Google) wrote: ...
9 years, 1 month ago (2011-10-27 17:18:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/8371024/12012
9 years, 1 month ago (2011-10-27 17:18:40 UTC) #10
commit-bot: I haz the power
Try job failure for 8371024-12012 (retry) on linux_rel for step "check_deps". It's a second try, ...
9 years, 1 month ago (2011-10-27 18:07:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/8371024/12013
9 years, 1 month ago (2011-10-27 18:42:04 UTC) #12
commit-bot: I haz the power
Change committed as 107630
9 years, 1 month ago (2011-10-27 21:39:37 UTC) #13
oshima
drive by and q http://codereview.chromium.org/8371024/diff/12013/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): http://codereview.chromium.org/8371024/diff/12013/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode13 content/browser/renderer_host/render_widget_host_view_aura.cc:13: #include "ui/aura/aura_constants.h" i saw ben's ...
9 years, 1 month ago (2011-10-28 08:52:56 UTC) #14
varunjain
9 years, 1 month ago (2011-10-28 17:15:34 UTC) #15
http://codereview.chromium.org/8371024/diff/12013/content/browser/renderer_ho...
File content/browser/renderer_host/render_widget_host_view_aura.cc (right):

http://codereview.chromium.org/8371024/diff/12013/content/browser/renderer_ho...
content/browser/renderer_host/render_widget_host_view_aura.cc:13: #include
"ui/aura/aura_constants.h"
On 2011/10/28 08:52:56, oshima wrote:
> i saw ben's comment that this should be aura_shell/aura_shell_constants.h
> 
> has this changed? (maybe because views/content shouldn't depend on shell?)
> 
> I too need a place to put property name that is shared by views and shell and
> want to know if I can use this.

yes. content is not allowed to depend on shell.. so I moved this back to aura
after discussing it with Ben.

http://codereview.chromium.org/8371024/diff/12013/content/browser/renderer_ho...
content/browser/renderer_host/render_widget_host_view_aura.cc:185:
window_->SetProperty(aura::kTooltipTextKey, tooltip);
On 2011/10/28 08:52:56, oshima wrote:
> this will leak memory. you need to delete old property if present.
>  

I will fix this.

Powered by Google App Engine
This is Rietveld 408576698