| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_vie
ws.h" | 9 #include "chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_vie
ws.h" |
| 10 #include "views/controls/menu/menu_delegate.h" | 10 #include "views/controls/menu/menu_delegate.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 scoped_ptr<BookmarkContextMenuControllerViews> controller_; | 62 scoped_ptr<BookmarkContextMenuControllerViews> controller_; |
| 63 | 63 |
| 64 // The parent of dialog boxes opened from the context menu. | 64 // The parent of dialog boxes opened from the context menu. |
| 65 gfx::NativeWindow parent_window_; | 65 gfx::NativeWindow parent_window_; |
| 66 | 66 |
| 67 // The menu itself. | 67 // The menu itself. |
| 68 scoped_ptr<views::MenuItemView> menu_; | 68 scoped_ptr<views::MenuItemView> menu_; |
| 69 | 69 |
| 70 // The node we're showing the menu for. |
| 71 const BookmarkNode* parent_node_; |
| 72 |
| 70 BookmarkContextMenuObserver* observer_; | 73 BookmarkContextMenuObserver* observer_; |
| 71 | 74 |
| 72 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu); | 75 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu); |
| 73 }; | 76 }; |
| 74 | 77 |
| 75 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_CONTEXT_MENU_H_ | 78 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_CONTEXT_MENU_H_ |
| OLD | NEW |