summaryrefslogtreecommitdiffstats
path: root/ash/shell/shell_delegate_impl.cc
diff options
context:
space:
mode:
authorsimonhong@chromium.org <simonhong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-09 20:25:42 +0000
committersimonhong@chromium.org <simonhong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-09 20:25:42 +0000
commite0cfc7fc54879d4842afa11e953095b3ed728535 (patch)
tree7f7bf5c8d2316a3a8dda0f6466018cce99d8b007 /ash/shell/shell_delegate_impl.cc
parent531cf0b269ebacb2e19d865218a95ee4851d6f92 (diff)
downloadchromium_src-e0cfc7fc54879d4842afa11e953095b3ed728535.zip
chromium_src-e0cfc7fc54879d4842afa11e953095b3ed728535.tar.gz
chromium_src-e0cfc7fc54879d4842afa11e953095b3ed728535.tar.bz2
[ash] Add TYPE_DIALOG and its item's LauncherContextMenu
This is third CL for adding an item for dialog. This cl adds new LauncherItemType, TYPE_DIALOG, and implements a context menu of item created by ShelfWindowWatcher. R=sky@chromium.org BUG=121242 TEST=NONE Review URL: https://codereview.chromium.org/107163005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell/shell_delegate_impl.cc')
-rw-r--r--ash/shell/shell_delegate_impl.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index ab41a4c..20e8fde 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -158,7 +158,10 @@ aura::client::UserActionClient* ShellDelegateImpl::CreateUserActionClient() {
return NULL;
}
-ui::MenuModel* ShellDelegateImpl::CreateContextMenu(aura::Window* root) {
+ui::MenuModel* ShellDelegateImpl::CreateContextMenu(
+ aura::Window* root,
+ ash::ShelfItemDelegate* item_delegate,
+ ash::LauncherItem* item) {
return new ContextMenu(root);
}