Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1546)

Unified Diff: ash/launcher/launcher_view.cc

Issue 10139025: Add support for a context menu on the browser shortcut icon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only have new api on ChromeLauncherDelegate Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/launcher/launcher_view.cc
diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc
index d19d334b3d75d0e7beff0cb2be1d2602cde0c713..fb9f928df46eaf9228457a16cd3279e5d25ee263 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)
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698