| OLD | NEW |
| 1 // Copyright (c) 2010 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_BOOKMARK_CONTEXT_MENU_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARK_CONTEXT_MENU_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARK_CONTEXT_MENU_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARK_CONTEXT_MENU_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/views/bookmark_context_menu_controller_views.h" | 9 #include "chrome/browser/ui/views/bookmark_context_menu_controller_views.h" |
| 10 #include "views/controls/menu/menu_delegate.h" | 10 #include "views/controls/menu/menu_delegate.h" |
| 11 | 11 |
| 12 // Observer for the BookmarkContextMenu. | 12 // Observer for the BookmarkContextMenu. |
| 13 class BookmarkContextMenuObserver { | 13 class BookmarkContextMenuObserver { |
| 14 public: | 14 public: |
| 15 // Invoked before the specified items are removed from the bookmark model. | 15 // Invoked before the specified items are removed from the bookmark model. |
| 16 virtual void WillRemoveBookmarks( | 16 virtual void WillRemoveBookmarks( |
| 17 const std::vector<const BookmarkNode*>& bookmarks) = 0; | 17 const std::vector<const BookmarkNode*>& bookmarks) = 0; |
| 18 | 18 |
| 19 // Invoked after the items have been removed from the model. | 19 // Invoked after the items have been removed from the model. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 BookmarkContextMenuObserver* observer_; | 70 BookmarkContextMenuObserver* observer_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu); | 72 DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARK_CONTEXT_MENU_H_ | 75 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARK_CONTEXT_MENU_H_ |
| OLD | NEW |