| 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 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 11 #include "components/bookmarks/browser/base_bookmark_model_observer.h" | 12 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
| 12 #include "components/bookmarks/browser/bookmark_node_data.h" | 13 #include "components/bookmarks/browser/bookmark_node_data.h" |
| 13 #include "ui/views/controls/menu/menu_delegate.h" | 14 #include "ui/views/controls/menu/menu_delegate.h" |
| 14 | 15 |
| 15 class BookmarkBarView; | 16 class BookmarkBarView; |
| 16 class BookmarkMenuControllerObserver; | 17 class BookmarkMenuControllerObserver; |
| 17 class BookmarkMenuDelegate; | 18 class BookmarkMenuDelegate; |
| 18 class Browser; | 19 class Browser; |
| 19 | 20 |
| 20 namespace bookmarks { | 21 namespace bookmarks { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 141 |
| 141 // The bookmark bar. This is only non-null if we're showing a menu item for a | 142 // The bookmark bar. This is only non-null if we're showing a menu item for a |
| 142 // folder on the bookmark bar and not for drop, or if the BookmarkBarView has | 143 // folder on the bookmark bar and not for drop, or if the BookmarkBarView has |
| 143 // been destroyed before the menu. | 144 // been destroyed before the menu. |
| 144 BookmarkBarView* bookmark_bar_; | 145 BookmarkBarView* bookmark_bar_; |
| 145 | 146 |
| 146 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); | 147 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuController); |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ | 150 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_CONTROLLER_VIEWS_H_ |
| OLD | NEW |