OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BUTTON_H_ | 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_BUTTON_H_ |
6 #define UI_VIEWS_CONTROLS_BUTTON_BUTTON_H_ | 6 #define UI_VIEWS_CONTROLS_BUTTON_BUTTON_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/native_theme/native_theme.h" | 9 #include "ui/native_theme/native_theme.h" |
9 #include "ui/views/view.h" | 10 #include "ui/views/view.h" |
10 | 11 |
11 namespace views { | 12 namespace views { |
12 | 13 |
13 class Button; | 14 class Button; |
14 class Event; | 15 class Event; |
15 | 16 |
16 // An interface implemented by an object to let it know that a button was | 17 // An interface implemented by an object to let it know that a button was |
17 // pressed. | 18 // pressed. |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // The id tag associated with this button. Used to disambiguate buttons in | 88 // The id tag associated with this button. Used to disambiguate buttons in |
88 // the ButtonListener implementation. | 89 // the ButtonListener implementation. |
89 int tag_; | 90 int tag_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(Button); | 92 DISALLOW_COPY_AND_ASSIGN(Button); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace views | 95 } // namespace views |
95 | 96 |
96 #endif // UI_VIEWS_CONTROLS_BUTTON_BUTTON_H_ | 97 #endif // UI_VIEWS_CONTROLS_BUTTON_BUTTON_H_ |
OLD | NEW |