Index: ash/system/tray/hover_highlight_view.cc |
diff --git a/ash/system/tray/hover_highlight_view.cc b/ash/system/tray/hover_highlight_view.cc |
index 164cb41e3c0c7c07454f048212703a2ac410555a..6a565bac948f455219d15c988348b80caf944723 100644 |
--- a/ash/system/tray/hover_highlight_view.cc |
+++ b/ash/system/tray/hover_highlight_view.cc |
@@ -240,4 +240,18 @@ void HoverHighlightView::OnFocus() { |
ActionableView::OnFocus(); |
} |
+bool HoverHighlightView::GetTooltipText(const gfx::Point& p, |
+ base::string16* tooltip) const { |
+ if (tooltip_.length()) { |
+ *tooltip = tooltip_; |
+ return true; |
+ } else { |
+ return false; |
+ } |
+} |
+ |
+void HoverHighlightView::SetTooltipText(const base::string16& tooltip) { |
+ tooltip_ = tooltip; |
+} |
+ |
} // namespace ash |