OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
12 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
13 #include "ui/views/views_export.h" | 12 #include "ui/views/views_export.h" |
14 | 13 |
15 namespace gfx { | 14 namespace gfx { |
16 class Display; | 15 class Display; |
17 class FontList; | 16 class FontList; |
18 class Point; | 17 class Point; |
19 } // namespace gfx | 18 } // namespace gfx |
20 | 19 |
(...skipping 30 matching lines...) Expand all Loading... |
51 // Notification that the view hierarchy has changed in some way. | 50 // Notification that the view hierarchy has changed in some way. |
52 virtual void UpdateTooltip() = 0; | 51 virtual void UpdateTooltip() = 0; |
53 | 52 |
54 // Invoked when the tooltip text changes for the specified views. | 53 // Invoked when the tooltip text changes for the specified views. |
55 virtual void TooltipTextChanged(View* view) = 0; | 54 virtual void TooltipTextChanged(View* view) = 0; |
56 }; | 55 }; |
57 | 56 |
58 } // namespace views | 57 } // namespace views |
59 | 58 |
60 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 59 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
OLD | NEW |