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_BUTTON_TEXT_BUTTON_H_ | 5 #ifndef VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ |
6 #define VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ | 6 #define VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ |
7 | 7 |
8 #include "app/gfx/chrome_font.h" | 8 #include "app/gfx/chrome_font.h" |
9 #include "skia/include/SkBitmap.h" | 9 #include "third_party/skia/include/core/SkBitmap.h" |
10 #include "views/border.h" | 10 #include "views/border.h" |
11 #include "views/controls/button/custom_button.h" | 11 #include "views/controls/button/custom_button.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 | 14 |
15 //////////////////////////////////////////////////////////////////////////////// | 15 //////////////////////////////////////////////////////////////////////////////// |
16 // | 16 // |
17 // TextButtonBorder | 17 // TextButtonBorder |
18 // | 18 // |
19 // A Border subclass that paints a TextButton's background layer - | 19 // A Border subclass that paints a TextButton's background layer - |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // The width of the button will never be larger than this value. A value <= 0 | 129 // The width of the button will never be larger than this value. A value <= 0 |
130 // indicates the width is not constrained. | 130 // indicates the width is not constrained. |
131 int max_width_; | 131 int max_width_; |
132 | 132 |
133 DISALLOW_EVIL_CONSTRUCTORS(TextButton); | 133 DISALLOW_EVIL_CONSTRUCTORS(TextButton); |
134 }; | 134 }; |
135 | 135 |
136 } // namespace views | 136 } // namespace views |
137 | 137 |
138 #endif // VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ | 138 #endif // VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ |
OLD | NEW |