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_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_CONTEXT_MENU_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_CONTEXT_MENU_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h" | 10 #include "chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h" |
10 #include "ui/views/controls/menu/menu_delegate.h" | 11 #include "ui/views/controls/menu/menu_delegate.h" |
11 | 12 |
12 class Browser; | 13 class Browser; |
13 | 14 |
14 namespace views { | 15 namespace views { |
15 class MenuRunner; | 16 class MenuRunner; |
16 class Widget; | 17 class Widget; |
17 } | 18 } |
18 | 19 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 86 |
86 BookmarkContextMenuObserver* observer_; | 87 BookmarkContextMenuObserver* observer_; |
87 | 88 |
88 // Should the menu close when a node is removed. | 89 // Should the menu close when a node is removed. |
89 bool close_on_remove_; | 90 bool close_on_remove_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu); | 92 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu); |
92 }; | 93 }; |
93 | 94 |
94 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_CONTEXT_MENU_H_ | 95 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_CONTEXT_MENU_H_ |
OLD | NEW |