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_CONTROLS_STYLED_LABEL_H_ | 5 #ifndef UI_VIEWS_CONTROLS_STYLED_LABEL_H_ |
6 #define UI_VIEWS_CONTROLS_STYLED_LABEL_H_ | 6 #define UI_VIEWS_CONTROLS_STYLED_LABEL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "ui/base/range/range.h" | 13 #include "ui/base/range/range.h" |
14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
15 #include "ui/views/controls/link_listener.h" | 15 #include "ui/views/controls/link_listener.h" |
16 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
17 | 17 |
18 namespace views { | 18 namespace views { |
19 | 19 |
20 class Link; | 20 class Link; |
21 class StyledLabelListener; | 21 class StyledLabelListener; |
22 | 22 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // This variable saves the result of the last GetHeightForWidth call in order | 105 // This variable saves the result of the last GetHeightForWidth call in order |
106 // to avoid repeated calculation. | 106 // to avoid repeated calculation. |
107 gfx::Size calculated_size_; | 107 gfx::Size calculated_size_; |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(StyledLabel); | 109 DISALLOW_COPY_AND_ASSIGN(StyledLabel); |
110 }; | 110 }; |
111 | 111 |
112 } // namespace views | 112 } // namespace views |
113 | 113 |
114 #endif // UI_VIEWS_CONTROLS_STYLED_LABEL_H_ | 114 #endif // UI_VIEWS_CONTROLS_STYLED_LABEL_H_ |
OLD | NEW |