| 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_CUSTOM_BUTTON_H_ | 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_CUSTOM_BUTTON_H_ |
| 6 #define UI_VIEWS_CONTROLS_BUTTON_CUSTOM_BUTTON_H_ | 6 #define UI_VIEWS_CONTROLS_BUTTON_CUSTOM_BUTTON_H_ |
| 7 | 7 |
| 8 #include "ui/base/animation/animation_delegate.h" | 8 #include "ui/base/animation/animation_delegate.h" |
| 9 #include "ui/base/events.h" | 9 #include "ui/base/events/event_constants.h" |
| 10 #include "ui/views/controls/button/button.h" | 10 #include "ui/views/controls/button/button.h" |
| 11 | 11 |
| 12 namespace ui { | 12 namespace ui { |
| 13 class ThrobAnimation; | 13 class ThrobAnimation; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace views { | 16 namespace views { |
| 17 | 17 |
| 18 // A button with custom rendering. The common base class of ImageButton and | 18 // A button with custom rendering. The common base class of ImageButton and |
| 19 // TextButton. | 19 // TextButton. |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 // See description above setter. | 142 // See description above setter. |
| 143 bool request_focus_on_press_; | 143 bool request_focus_on_press_; |
| 144 | 144 |
| 145 DISALLOW_COPY_AND_ASSIGN(CustomButton); | 145 DISALLOW_COPY_AND_ASSIGN(CustomButton); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace views | 148 } // namespace views |
| 149 | 149 |
| 150 #endif // UI_VIEWS_CONTROLS_BUTTON_CUSTOM_BUTTON_H_ | 150 #endif // UI_VIEWS_CONTROLS_BUTTON_CUSTOM_BUTTON_H_ |
| OLD | NEW |