summaryrefslogtreecommitdiffstats
path: root/ash/shelf/shelf_item_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shelf/shelf_item_delegate.h')
-rw-r--r--ash/shelf/shelf_item_delegate.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/ash/shelf/shelf_item_delegate.h b/ash/shelf/shelf_item_delegate.h
index 260e069..16ffb990 100644
--- a/ash/shelf/shelf_item_delegate.h
+++ b/ash/shelf/shelf_item_delegate.h
@@ -8,10 +8,6 @@
#include "ash/ash_export.h"
#include "base/strings/string16.h"
-namespace aura {
-class Window;
-}
-
namespace ui {
class Event;
class MenuModel;
@@ -52,11 +48,6 @@ class ASH_EXPORT ShelfItemDelegate {
// Returns the title to display.
virtual base::string16 GetTitle() = 0;
- // Returns the context menumodel for the specified item on
- // |root_window|. Return NULL if there should be no context
- // menu. The caller takes ownership of the returned model.
- virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window) = 0;
-
// Returns whether the user can change the pin status of this item.
// Pinning may be disallowed by policy if this app is pinned by pre-defined
// pinned app list.