Index: ash/shell_delegate.h |
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h |
index cd36fd43dca37aa7f8afd1263b931b591bdb6893..65696887ae573c569f4668410deb71724607d4af 100644 |
--- a/ash/shell_delegate.h |
+++ b/ash/shell_delegate.h |
@@ -42,6 +42,7 @@ class ShelfDelegate; |
class ShelfModel; |
class SystemTrayDelegate; |
class UserWallpaperDelegate; |
+class Shelf; |
struct ShelfItem; |
class ASH_EXPORT VirtualKeyboardStateObserver { |
@@ -132,9 +133,9 @@ class ASH_EXPORT ShellDelegate { |
// Creates a media delegate. Shell takes ownership of the delegate. |
virtual MediaDelegate* CreateMediaDelegate() = 0; |
- // Creates a menu model for the |root_window| and optional shelf |item|. |
+ // Creates a menu model for the |shelf| and optional shelf |item|. |
// If |item| is null, this creates a context menu for the desktop or shelf. |
- virtual ui::MenuModel* CreateContextMenu(aura::Window* root_window, |
+ virtual ui::MenuModel* CreateContextMenu(ash::Shelf* shelf, |
const ash::ShelfItem* item) = 0; |
// Creates a GPU support object. Shell takes ownership of the object. |