| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LABEL_H_ | 5 #ifndef UI_VIEWS_CONTROLS_LABEL_H_ |
| 6 #define UI_VIEWS_CONTROLS_LABEL_H_ | 6 #define UI_VIEWS_CONTROLS_LABEL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/macros.h" |
| 10 #include "ui/gfx/render_text.h" | 11 #include "ui/gfx/render_text.h" |
| 11 #include "ui/views/view.h" | 12 #include "ui/views/view.h" |
| 12 | 13 |
| 13 namespace views { | 14 namespace views { |
| 14 | 15 |
| 15 // A view subclass that can display a string. | 16 // A view subclass that can display a string. |
| 16 class VIEWS_EXPORT Label : public View { | 17 class VIEWS_EXPORT Label : public View { |
| 17 public: | 18 public: |
| 18 // Internal class name. | 19 // Internal class name. |
| 19 static const char kViewClassName[]; | 20 static const char kViewClassName[]; |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 // TODO(ckocagil): Remove is_first_paint_text_ before crbug.com/441028 is | 215 // TODO(ckocagil): Remove is_first_paint_text_ before crbug.com/441028 is |
| 215 // closed. | 216 // closed. |
| 216 bool is_first_paint_text_; | 217 bool is_first_paint_text_; |
| 217 | 218 |
| 218 DISALLOW_COPY_AND_ASSIGN(Label); | 219 DISALLOW_COPY_AND_ASSIGN(Label); |
| 219 }; | 220 }; |
| 220 | 221 |
| 221 } // namespace views | 222 } // namespace views |
| 222 | 223 |
| 223 #endif // UI_VIEWS_CONTROLS_LABEL_H_ | 224 #endif // UI_VIEWS_CONTROLS_LABEL_H_ |
| OLD | NEW |