| 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/chrome_font.h" | 8 #include "app/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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // the width/height is non-zero, the preferred size of the button will not be | 93 // the width/height is non-zero, the preferred size of the button will not be |
| 94 // less than this value when the dialog units are converted to pixels. | 94 // less than this value when the dialog units are converted to pixels. |
| 95 gfx::Size minimum_size_; | 95 gfx::Size minimum_size_; |
| 96 | 96 |
| 97 DISALLOW_COPY_AND_ASSIGN(NativeButton); | 97 DISALLOW_COPY_AND_ASSIGN(NativeButton); |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 } // namespace views | 100 } // namespace views |
| 101 | 101 |
| 102 #endif // #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ | 102 #endif // #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_H_ |
| OLD | NEW |