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_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_DELEGATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "chrome/browser/bookmarks/bookmark_stats.h" | 13 #include "chrome/browser/bookmarks/bookmark_stats.h" |
13 #include "chrome/browser/ui/views/bookmarks/bookmark_context_menu.h" | 14 #include "chrome/browser/ui/views/bookmarks/bookmark_context_menu.h" |
14 #include "components/bookmarks/browser/base_bookmark_model_observer.h" | 15 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
15 #include "components/bookmarks/browser/bookmark_node_data.h" | 16 #include "components/bookmarks/browser/bookmark_node_data.h" |
16 #include "ui/views/controls/menu/menu_delegate.h" | 17 #include "ui/views/controls/menu/menu_delegate.h" |
17 | 18 |
18 class Browser; | 19 class Browser; |
19 class Profile; | 20 class Profile; |
20 | 21 |
21 namespace bookmarks { | 22 namespace bookmarks { |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // Is the model being changed? | 209 // Is the model being changed? |
209 bool is_mutating_model_; | 210 bool is_mutating_model_; |
210 | 211 |
211 // The location where this bookmark menu will be displayed (for UMA). | 212 // The location where this bookmark menu will be displayed (for UMA). |
212 BookmarkLaunchLocation location_; | 213 BookmarkLaunchLocation location_; |
213 | 214 |
214 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuDelegate); | 215 DISALLOW_COPY_AND_ASSIGN(BookmarkMenuDelegate); |
215 }; | 216 }; |
216 | 217 |
217 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_DELEGATE_H_ | 218 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_MENU_DELEGATE_H_ |
OLD | NEW |