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_BUTTON_TEXT_BUTTON_H_ | 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ |
6 #define UI_VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ | 6 #define UI_VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "third_party/skia/include/core/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
14 #include "ui/gfx/font.h" | 14 #include "ui/gfx/font.h" |
15 #include "ui/gfx/image/image_skia.h" | 15 #include "ui/gfx/image/image_skia.h" |
16 #include "ui/views/border.h" | 16 #include "ui/views/border.h" |
17 #include "ui/views/controls/button/custom_button.h" | 17 #include "ui/views/controls/button/custom_button.h" |
18 #include "ui/views/native_theme_delegate.h" | 18 #include "ui/views/native_theme_delegate.h" |
19 #include "ui/views/painter.h" | 19 #include "ui/views/painter.h" |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 | 22 |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 // True if the button should ignore the minimum size for the platform. Default | 396 // True if the button should ignore the minimum size for the platform. Default |
397 // is true. Set to false to prevent narrower buttons. | 397 // is true. Set to false to prevent narrower buttons. |
398 bool ignore_minimum_size_; | 398 bool ignore_minimum_size_; |
399 | 399 |
400 DISALLOW_COPY_AND_ASSIGN(TextButton); | 400 DISALLOW_COPY_AND_ASSIGN(TextButton); |
401 }; | 401 }; |
402 | 402 |
403 } // namespace views | 403 } // namespace views |
404 | 404 |
405 #endif // UI_VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ | 405 #endif // UI_VIEWS_CONTROLS_BUTTON_TEXT_BUTTON_H_ |
OLD | NEW |