OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BOOKMARKS_BOOKMARK_CONTEXT_MENU_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_CONTEXT_MENU_CONTROLLER_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_CONTEXT_MENU_CONTROLLER_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_CONTEXT_MENU_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" | 12 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
13 #include "gfx/native_widget_types.h" | |
14 #include "ui/base/models/simple_menu_model.h" | 13 #include "ui/base/models/simple_menu_model.h" |
| 14 #include "ui/gfx/native_widget_types.h" |
15 | 15 |
16 class PageNavigator; | 16 class PageNavigator; |
17 class Profile; | 17 class Profile; |
18 | 18 |
19 // An interface implemented by an object that performs actions on the actual | 19 // An interface implemented by an object that performs actions on the actual |
20 // menu for the controller. | 20 // menu for the controller. |
21 class BookmarkContextMenuControllerDelegate { | 21 class BookmarkContextMenuControllerDelegate { |
22 public: | 22 public: |
23 virtual ~BookmarkContextMenuControllerDelegate() {} | 23 virtual ~BookmarkContextMenuControllerDelegate() {} |
24 | 24 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 PageNavigator* navigator_; | 88 PageNavigator* navigator_; |
89 const BookmarkNode* parent_; | 89 const BookmarkNode* parent_; |
90 std::vector<const BookmarkNode*> selection_; | 90 std::vector<const BookmarkNode*> selection_; |
91 BookmarkModel* model_; | 91 BookmarkModel* model_; |
92 scoped_ptr<ui::SimpleMenuModel> menu_model_; | 92 scoped_ptr<ui::SimpleMenuModel> menu_model_; |
93 | 93 |
94 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenuController); | 94 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenuController); |
95 }; | 95 }; |
96 | 96 |
97 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_CONTEXT_MENU_CONTROLLER_H_ | 97 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_CONTEXT_MENU_CONTROLLER_H_ |
OLD | NEW |