| 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 #include "views/controls/button/native_button_win.h" | 5 #include "views/controls/button/native_button_win.h" |
| 6 | 6 |
| 7 #include <commctrl.h> |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 #include "views/controls/button/checkbox.h" | 10 #include "views/controls/button/checkbox.h" |
| 9 #include "views/controls/button/native_button.h" | 11 #include "views/controls/button/native_button.h" |
| 10 #include "views/controls/button/radio_button.h" | 12 #include "views/controls/button/radio_button.h" |
| 11 #include "views/widget/widget.h" | 13 #include "views/widget/widget.h" |
| 12 | 14 |
| 13 namespace views { | 15 namespace views { |
| 14 | 16 |
| 15 //////////////////////////////////////////////////////////////////////////////// | 17 //////////////////////////////////////////////////////////////////////////////// |
| 16 // NativeButtonWin, public: | 18 // NativeButtonWin, public: |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 return new NativeCheckboxWin(checkbox); | 227 return new NativeCheckboxWin(checkbox); |
| 226 } | 228 } |
| 227 | 229 |
| 228 // static | 230 // static |
| 229 NativeButtonWrapper* NativeButtonWrapper::CreateRadioButtonWrapper( | 231 NativeButtonWrapper* NativeButtonWrapper::CreateRadioButtonWrapper( |
| 230 RadioButton* radio_button) { | 232 RadioButton* radio_button) { |
| 231 return new NativeRadioButtonWin(radio_button); | 233 return new NativeRadioButtonWin(radio_button); |
| 232 } | 234 } |
| 233 | 235 |
| 234 } // namespace views | 236 } // namespace views |
| OLD | NEW |