OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 7 |
8 #include "app/gfx/chrome_font.h" | 8 #include "app/gfx/chrome_font.h" |
9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
10 #include "skia/include/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
11 #include "testing/gtest/include/gtest/gtest_prod.h" | 11 #include "testing/gtest/include/gtest/gtest_prod.h" |
12 #include "views/view.h" | 12 #include "views/view.h" |
13 | 13 |
14 namespace views { | 14 namespace views { |
15 | 15 |
16 ///////////////////////////////////////////////////////////////////////////// | 16 ///////////////////////////////////////////////////////////////////////////// |
17 // | 17 // |
18 // Label class | 18 // Label class |
19 // | 19 // |
20 // A label is a view subclass that can display a string. | 20 // A label is a view subclass that can display a string. |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 // allows this view to reserve space for a focus border that it otherwise | 241 // allows this view to reserve space for a focus border that it otherwise |
242 // might not have because it is not itself focusable. | 242 // might not have because it is not itself focusable. |
243 bool has_focus_border_; | 243 bool has_focus_border_; |
244 | 244 |
245 DISALLOW_COPY_AND_ASSIGN(Label); | 245 DISALLOW_COPY_AND_ASSIGN(Label); |
246 }; | 246 }; |
247 | 247 |
248 } // namespace views | 248 } // namespace views |
249 | 249 |
250 #endif // VIEWS_CONTROLS_LABEL_H_ | 250 #endif // VIEWS_CONTROLS_LABEL_H_ |
OLD | NEW |