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_MENU_BUTTON_H_ | 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ |
6 #define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ | 6 #define UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
13 #include "ui/views/background.h" | 14 #include "ui/views/background.h" |
14 #include "ui/views/controls/button/label_button.h" | 15 #include "ui/views/controls/button/label_button.h" |
15 | 16 |
16 namespace views { | 17 namespace views { |
17 | 18 |
18 class MenuButtonListener; | 19 class MenuButtonListener; |
19 | 20 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 bool should_disable_after_press_; | 135 bool should_disable_after_press_; |
135 | 136 |
136 base::WeakPtrFactory<MenuButton> weak_factory_; | 137 base::WeakPtrFactory<MenuButton> weak_factory_; |
137 | 138 |
138 DISALLOW_COPY_AND_ASSIGN(MenuButton); | 139 DISALLOW_COPY_AND_ASSIGN(MenuButton); |
139 }; | 140 }; |
140 | 141 |
141 } // namespace views | 142 } // namespace views |
142 | 143 |
143 #endif // UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ | 144 #endif // UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ |
OLD | NEW |