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_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_ |
6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_ | 6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "ui/gfx/point.h" | 10 #include "ui/gfx/point.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 private: | 45 private: |
46 View* GetViewUnderPoint(const gfx::Point& point); | 46 View* GetViewUnderPoint(const gfx::Point& point); |
47 void UpdateTooltipForTarget(View* target, | 47 void UpdateTooltipForTarget(View* target, |
48 const gfx::Point& point, | 48 const gfx::Point& point, |
49 aura::Window* root_window); | 49 aura::Window* root_window); |
50 | 50 |
51 // Returns the Window the tooltip text is installed on. | 51 // Returns the Window the tooltip text is installed on. |
52 aura::Window* GetWindow(); | 52 aura::Window* GetWindow(); |
53 | 53 |
54 Widget* widget_; | 54 Widget* widget_; |
55 string16 tooltip_text_; | 55 base::string16 tooltip_text_; |
56 | 56 |
57 DISALLOW_COPY_AND_ASSIGN(TooltipManagerAura); | 57 DISALLOW_COPY_AND_ASSIGN(TooltipManagerAura); |
58 }; | 58 }; |
59 | 59 |
60 } // namespace views | 60 } // namespace views |
61 | 61 |
62 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_ | 62 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_ |
OLD | NEW |