OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 VIEWS_CONTROLS_LABEL_H_ | 5 #ifndef VIEWS_CONTROLS_LABEL_H_ |
6 #define VIEWS_CONTROLS_LABEL_H_ | 6 #define VIEWS_CONTROLS_LABEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "gfx/font.h" | |
11 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
12 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
| 12 #include "ui/gfx/font.h" |
13 #include "views/view.h" | 13 #include "views/view.h" |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 | 16 |
17 ///////////////////////////////////////////////////////////////////////////// | 17 ///////////////////////////////////////////////////////////////////////////// |
18 // | 18 // |
19 // Label class | 19 // Label class |
20 // | 20 // |
21 // A label is a view subclass that can display a string. | 21 // A label is a view subclass that can display a string. |
22 // | 22 // |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 // allows this view to reserve space for a focus border that it otherwise | 273 // allows this view to reserve space for a focus border that it otherwise |
274 // might not have because it is not itself focusable. | 274 // might not have because it is not itself focusable. |
275 bool has_focus_border_; | 275 bool has_focus_border_; |
276 | 276 |
277 DISALLOW_COPY_AND_ASSIGN(Label); | 277 DISALLOW_COPY_AND_ASSIGN(Label); |
278 }; | 278 }; |
279 | 279 |
280 } // namespace views | 280 } // namespace views |
281 | 281 |
282 #endif // VIEWS_CONTROLS_LABEL_H_ | 282 #endif // VIEWS_CONTROLS_LABEL_H_ |
OLD | NEW |