| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_COREWM_TOOLTIP_H_ | 5 #ifndef UI_VIEWS_COREWM_TOOLTIP_H_ |
| 6 #define UI_VIEWS_COREWM_TOOLTIP_H_ | 6 #define UI_VIEWS_COREWM_TOOLTIP_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 virtual void SetText(aura::Window* window, | 32 virtual void SetText(aura::Window* window, |
| 33 const base::string16& tooltip_text, | 33 const base::string16& tooltip_text, |
| 34 const gfx::Point& location) = 0; | 34 const gfx::Point& location) = 0; |
| 35 | 35 |
| 36 // Shows the tooltip at the specified location (in screen coordinates). | 36 // Shows the tooltip at the specified location (in screen coordinates). |
| 37 virtual void Show() = 0; | 37 virtual void Show() = 0; |
| 38 | 38 |
| 39 // Hides the tooltip. | 39 // Hides the tooltip. |
| 40 virtual void Hide() = 0; | 40 virtual void Hide() = 0; |
| 41 | 41 |
| 42 // Is the tooltip visibile? | 42 // Is the tooltip visible? |
| 43 virtual bool IsVisible() = 0; | 43 virtual bool IsVisible() = 0; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace corewm | 46 } // namespace corewm |
| 47 } // namespace views | 47 } // namespace views |
| 48 | 48 |
| 49 #endif // UI_VIEWS_COREWM_TOOLTIP_H_ | 49 #endif // UI_VIEWS_COREWM_TOOLTIP_H_ |
| OLD | NEW |