| 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_RADIO_BUTTON_H_ | 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
| 6 #define UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 6 #define UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "ui/views/controls/button/checkbox.h" | 10 #include "ui/views/controls/button/checkbox.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 // Overridden from Button: | 31 // Overridden from Button: |
| 32 void NotifyClick(const ui::Event& event) override; | 32 void NotifyClick(const ui::Event& event) override; |
| 33 | 33 |
| 34 // Overridden from LabelButton: | 34 // Overridden from LabelButton: |
| 35 ui::NativeTheme::Part GetThemePart() const override; | 35 ui::NativeTheme::Part GetThemePart() const override; |
| 36 | 36 |
| 37 // Overridden from Checkbox: | 37 // Overridden from Checkbox: |
| 38 void SetChecked(bool checked) override; | 38 void SetChecked(bool checked) override; |
| 39 void PaintFocusRing(gfx::Canvas* canvas, | 39 void PaintFocusRing(gfx::Canvas* canvas, |
| 40 const cc::PaintFlags& paint) override; | 40 const cc::PaintFlags& flags) override; |
| 41 const gfx::VectorIcon& GetVectorIcon() const override; | 41 const gfx::VectorIcon& GetVectorIcon() const override; |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 DISALLOW_COPY_AND_ASSIGN(RadioButton); | 44 DISALLOW_COPY_AND_ASSIGN(RadioButton); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace views | 47 } // namespace views |
| 48 | 48 |
| 49 #endif // UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ | 49 #endif // UI_VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |
| OLD | NEW |