OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // 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 | 7 |
8 #include "app/gfx/font.h" | 8 #include "gfx/font.h" |
9 #include "views/controls/button/button.h" | 9 #include "views/controls/button/button.h" |
10 #include "views/controls/button/native_button_wrapper.h" | 10 #include "views/controls/button/native_button_wrapper.h" |
11 | 11 |
12 namespace gfx { | 12 namespace gfx { |
13 class Font; | 13 class Font; |
14 } | 14 } |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 | 17 |
18 class NativeButton : public Button { | 18 class NativeButton : public Button { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // True if the button should ignore the minimum size for the platform. Default | 88 // True if the button should ignore the minimum size for the platform. Default |
89 // is false. Set to true to create narrower buttons. | 89 // is false. Set to true to create narrower buttons. |
90 bool ignore_minimum_size_; | 90 bool ignore_minimum_size_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(NativeButton); | 92 DISALLOW_COPY_AND_ASSIGN(NativeButton); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace views | 95 } // namespace views |
96 | 96 |
97 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ | 97 #endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ |
OLD | NEW |