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_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 | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" | 12 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
14 #include "ui/base/models/simple_menu_model.h" | 13 #include "ui/base/models/simple_menu_model.h" |
15 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
16 | 15 |
17 class Browser; | 16 class Browser; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 content::PageNavigator* navigator_; | 95 content::PageNavigator* navigator_; |
97 const BookmarkNode* parent_; | 96 const BookmarkNode* parent_; |
98 std::vector<const BookmarkNode*> selection_; | 97 std::vector<const BookmarkNode*> selection_; |
99 BookmarkModel* model_; | 98 BookmarkModel* model_; |
100 scoped_ptr<ui::SimpleMenuModel> menu_model_; | 99 scoped_ptr<ui::SimpleMenuModel> menu_model_; |
101 | 100 |
102 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenuController); | 101 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenuController); |
103 }; | 102 }; |
104 | 103 |
105 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_CONTEXT_MENU_CONTROLLER_H_ | 104 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_CONTEXT_MENU_CONTROLLER_H_ |
OLD | NEW |