OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_VIEWS_CONTROLS_MENU_CHROME_MENU_H_ | 5 #ifndef CHROME_VIEWS_CONTROLS_MENU_CHROME_MENU_H_ |
6 #define CHROME_VIEWS_CONTROLS_MENU_CHROME_MENU_H_ | 6 #define CHROME_VIEWS_CONTROLS_MENU_CHROME_MENU_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "app/drag_drop_types.h" |
11 #include "app/gfx/chrome_font.h" | 12 #include "app/gfx/chrome_font.h" |
12 #include "base/gfx/point.h" | 13 #include "base/gfx/point.h" |
13 #include "base/gfx/rect.h" | 14 #include "base/gfx/rect.h" |
14 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
15 #include "base/task.h" | 16 #include "base/task.h" |
16 #include "chrome/common/drag_drop_types.h" | |
17 #include "chrome/views/controls/menu/controller.h" | 17 #include "chrome/views/controls/menu/controller.h" |
18 #include "chrome/views/view.h" | 18 #include "chrome/views/view.h" |
19 #include "skia/include/SkBitmap.h" | 19 #include "skia/include/SkBitmap.h" |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 | 22 |
23 class WidgetWin; | 23 class WidgetWin; |
24 class MenuController; | 24 class MenuController; |
25 class MenuItemView; | 25 class MenuItemView; |
26 class SubmenuView; | 26 class SubmenuView; |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 // Task for scrolling the menu. If non-null indicates a scroll is currently | 939 // Task for scrolling the menu. If non-null indicates a scroll is currently |
940 // underway. | 940 // underway. |
941 scoped_ptr<MenuScrollTask> scroll_task_; | 941 scoped_ptr<MenuScrollTask> scroll_task_; |
942 | 942 |
943 DISALLOW_EVIL_CONSTRUCTORS(MenuController); | 943 DISALLOW_EVIL_CONSTRUCTORS(MenuController); |
944 }; | 944 }; |
945 | 945 |
946 } // namespace views | 946 } // namespace views |
947 | 947 |
948 #endif // CHROME_VIEWS_CONTROLS_MENU_CHROME_MENU_H_ | 948 #endif // CHROME_VIEWS_CONTROLS_MENU_CHROME_MENU_H_ |
OLD | NEW |