diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 20:49:28 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-23 20:49:28 +0000 |
commit | 0b0d361f51947b4598c265ce4b0c8002f2bd79c6 (patch) | |
tree | 3d4732c3fc3cf920447d683007406315c56caab4 /ash | |
parent | 22a0ce51a95b7019eac17c2a12020a275dd42a5d (diff) | |
download | chromium_src-0b0d361f51947b4598c265ce4b0c8002f2bd79c6.zip chromium_src-0b0d361f51947b4598c265ce4b0c8002f2bd79c6.tar.gz chromium_src-0b0d361f51947b4598c265ce4b0c8002f2bd79c6.tar.bz2 |
Add support for a context menu on the browser shortcut icon
BUG=117303
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10139025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r-- | ash/launcher/launcher_view.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc index d19d334..fb9f928 100644 --- a/ash/launcher/launcher_view.cc +++ b/ash/launcher/launcher_view.cc @@ -893,8 +893,7 @@ void LauncherView::ShowContextMenuForView(views::View* source, int view_index = view_model_->GetIndexOfView(source); if (view_index != -1 && - (model_->items()[view_index].type == TYPE_BROWSER_SHORTCUT || - model_->items()[view_index].type == TYPE_APP_LIST)) { + model_->items()[view_index].type == TYPE_APP_LIST) { view_index = -1; } #if !defined(OS_MACOSX) |