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_BUTTON_NATIVE_BUTTON_H_ | 5 #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ |
6 #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ | 6 #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // TODO(avi): remove when not needed | 9 // TODO(avi): remove when not needed |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "gfx/font.h" | 11 #include "ui/gfx/font.h" |
12 #include "views/controls/button/button.h" | 12 #include "views/controls/button/button.h" |
13 #include "views/controls/button/native_button_wrapper.h" | 13 #include "views/controls/button/native_button_wrapper.h" |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 class Font; | 16 class Font; |
17 } | 17 } |
18 | 18 |
19 namespace views { | 19 namespace views { |
20 | 20 |
21 class NativeButton : public Button { | 21 class NativeButton : public Button { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // True if the button should ignore the minimum size for the platform. Default | 94 // True if the button should ignore the minimum size for the platform. Default |
95 // is false. Set to true to create narrower buttons. | 95 // is false. Set to true to create narrower buttons. |
96 bool ignore_minimum_size_; | 96 bool ignore_minimum_size_; |
97 | 97 |
98 DISALLOW_COPY_AND_ASSIGN(NativeButton); | 98 DISALLOW_COPY_AND_ASSIGN(NativeButton); |
99 }; | 99 }; |
100 | 100 |
101 } // namespace views | 101 } // namespace views |
102 | 102 |
103 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ | 103 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ |
OLD | NEW |