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

Unified Diff: ui/aura/window.h

Issue 8371024: Enable tooltips for aura. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: minor changes Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | views/widget/native_widget_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 57ea1ea251b8c8aac74a5354da3db32d5139aec5..58c1037088864a8fe90789be295ec14391a01e3f 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -68,6 +68,9 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
const std::string& name() const { return name_; }
void set_name(const std::string& name) { name_ = name; }
+ const string16& tooltip() const { return tooltip_; }
Ben Goodger (Google) 2011/10/25 22:24:45 Seems like at the shell level we are always queryi
varunjain 2011/10/25 22:35:05 I am not sure I completely understand. We never qu
+ void set_tooltip(const string16& tooltip) { tooltip_ = tooltip; }
+
ui::Layer* layer() { return layer_.get(); }
const ui::Layer* layer() const { return layer_.get(); }
@@ -318,6 +321,8 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
int id_;
std::string name_;
+ string16 tooltip_;
+
scoped_ptr<EventFilter> event_filter_;
scoped_ptr<LayoutManager> layout_manager_;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | views/widget/native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698