| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "views/view.h" | 9 #include "ui/views/view.h" |
| 10 | 10 |
| 11 namespace views { | 11 namespace views { |
| 12 | 12 |
| 13 class Button; | 13 class Button; |
| 14 class Event; | 14 class Event; |
| 15 | 15 |
| 16 // An interface implemented by an object to let it know that a button was | 16 // An interface implemented by an object to let it know that a button was |
| 17 // pressed. | 17 // pressed. |
| 18 class VIEWS_EXPORT ButtonListener { | 18 class VIEWS_EXPORT ButtonListener { |
| 19 public: | 19 public: |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 // Event flags present when the button was clicked. | 71 // Event flags present when the button was clicked. |
| 72 int mouse_event_flags_; | 72 int mouse_event_flags_; |
| 73 | 73 |
| 74 DISALLOW_COPY_AND_ASSIGN(Button); | 74 DISALLOW_COPY_AND_ASSIGN(Button); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace views | 77 } // namespace views |
| 78 | 78 |
| 79 #endif // UI_VIEWS_CONTROLS_BUTTON_BUTTON_H_ | 79 #endif // UI_VIEWS_CONTROLS_BUTTON_BUTTON_H_ |
| OLD | NEW |