| 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_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ | 6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <commctrl.h> | 9 #include <commctrl.h> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // Text for tooltip from the view. | 119 // Text for tooltip from the view. |
| 120 string16 tooltip_text_; | 120 string16 tooltip_text_; |
| 121 | 121 |
| 122 // The clipped tooltip. | 122 // The clipped tooltip. |
| 123 string16 clipped_text_; | 123 string16 clipped_text_; |
| 124 | 124 |
| 125 // Number of lines in the tooltip. | 125 // Number of lines in the tooltip. |
| 126 int line_count_; | 126 int line_count_; |
| 127 | 127 |
| 128 // Width of the last tooltip. | 128 // Width of the last tooltip. |
| 129 int tooltip_width_; | 129 float tooltip_width_; |
| 130 | 130 |
| 131 DISALLOW_COPY_AND_ASSIGN(TooltipManagerWin); | 131 DISALLOW_COPY_AND_ASSIGN(TooltipManagerWin); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace views | 134 } // namespace views |
| 135 | 135 |
| 136 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ | 136 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ |
| OLD | NEW |