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/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "base/time.h" | 11 #include "base/time.h" |
12 #include "ui/gfx/font.h" | 12 #include "ui/gfx/font.h" |
13 #include "ui/views/background.h" | 13 #include "ui/views/background.h" |
14 #include "ui/views/controls/button/text_button.h" | 14 #include "ui/views/controls/button/text_button.h" |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 | 17 |
18 class MenuButtonListener; | 18 class MenuButtonListener; |
19 | 19 |
20 //////////////////////////////////////////////////////////////////////////////// | 20 //////////////////////////////////////////////////////////////////////////////// |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // If non-null the destuctor sets this to true. This is set while the menu is | 100 // If non-null the destuctor sets this to true. This is set while the menu is |
101 // showing and used to detect if the menu was deleted while running. | 101 // showing and used to detect if the menu was deleted while running. |
102 bool* destroyed_flag_; | 102 bool* destroyed_flag_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(MenuButton); | 104 DISALLOW_COPY_AND_ASSIGN(MenuButton); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace views | 107 } // namespace views |
108 | 108 |
109 #endif // UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ | 109 #endif // UI_VIEWS_CONTROLS_BUTTON_MENU_BUTTON_H_ |
OLD | NEW |