OLD | NEW |
1 // Copyright (c) 2010 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_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" | 12 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
13 #include "chrome/browser/bookmarks/bookmark_node_data.h" | 13 #include "chrome/browser/bookmarks/bookmark_node_data.h" |
14 #include "chrome/browser/views/bookmark_context_menu.h" | 14 #include "chrome/browser/ui/views/bookmark_context_menu.h" |
15 #include "gfx/native_widget_types.h" | 15 #include "gfx/native_widget_types.h" |
16 #include "views/controls/menu/menu_delegate.h" | 16 #include "views/controls/menu/menu_delegate.h" |
17 #include "views/controls/menu/menu_item_view.h" | 17 #include "views/controls/menu/menu_item_view.h" |
18 | 18 |
19 namespace gfx { | 19 namespace gfx { |
20 class Rect; | 20 class Rect; |
21 } // namespace gfx | 21 } // namespace gfx |
22 | 22 |
23 namespace views { | 23 namespace views { |
24 class MenuButton; | 24 class MenuButton; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 typedef std::map<const BookmarkNode*, views::MenuItemView*> NodeToMenuMap; | 191 typedef std::map<const BookmarkNode*, views::MenuItemView*> NodeToMenuMap; |
192 NodeToMenuMap node_to_menu_map_; | 192 NodeToMenuMap node_to_menu_map_; |
193 | 193 |
194 // ID of the next menu item. | 194 // ID of the next menu item. |
195 int next_menu_id_; | 195 int next_menu_id_; |
196 | 196 |
197 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); | 197 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); |
198 }; | 198 }; |
199 | 199 |
200 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ | 200 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ |
OLD | NEW |