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 CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" | 11 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
12 #include "chrome/browser/bookmarks/bookmark_node_data.h" | 12 #include "chrome/browser/bookmarks/bookmark_node_data.h" |
13 #include "views/controls/menu/menu_delegate.h" | 13 #include "views/controls/menu/menu_delegate.h" |
14 #include "views/controls/menu/menu_item_view.h" | 14 #include "views/controls/menu/menu_item_view.h" |
15 | 15 |
16 class BookmarkBarView; | 16 class BookmarkBarView; |
17 class BookmarkMenuDelegate; | 17 class BookmarkMenuDelegate; |
18 class BookmarkNode; | 18 class BookmarkNode; |
19 class PageNavigator; | 19 class PageNavigator; |
20 class Profile; | 20 class Profile; |
21 | 21 |
22 namespace gfx { | |
23 class Rect; | |
24 } // namespace gfx | |
25 | |
26 namespace ui { | 22 namespace ui { |
27 class OSExchangeData; | 23 class OSExchangeData; |
28 } // namespace ui | 24 } // namespace ui |
29 | 25 |
30 namespace views { | 26 namespace views { |
31 class MenuButton; | 27 class MenuButton; |
32 class MenuRunner; | 28 class MenuRunner; |
33 class Widget; | 29 class Widget; |
34 } // namespace views | 30 } // namespace views |
35 | 31 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 bool for_drop_; | 131 bool for_drop_; |
136 | 132 |
137 // The bookmark bar. This is only non-null if we're showing a menu item | 133 // The bookmark bar. This is only non-null if we're showing a menu item |
138 // for a folder on the bookmark bar and not for drop. | 134 // for a folder on the bookmark bar and not for drop. |
139 BookmarkBarView* bookmark_bar_; | 135 BookmarkBarView* bookmark_bar_; |
140 | 136 |
141 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); | 137 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); |
142 }; | 138 }; |
143 | 139 |
144 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ | 140 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ |
OLD | NEW |