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

Unified Diff: ash/launcher/launcher_view.cc

Issue 15862014: Turning on drag and drop from app list to launcher by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « ash/ash_switches.cc ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_view.cc
diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc
index ead087924d3bf0044ba5398ebc7f7498422ee3f7..31d61ecf54821c5c97833cbccf7666f29a961d54 100644
--- a/ash/launcher/launcher_view.cc
+++ b/ash/launcher/launcher_view.cc
@@ -1482,8 +1482,8 @@ void LauncherView::ButtonPressed(views::Button* sender,
Shell::GetInstance()->ToggleAppList(GetWidget()->GetNativeView());
// By setting us as DnD recipient, the app list knows that we can
// handle items.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- ash::switches::kAshDragAndDropAppListToLauncher))
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ ash::switches::kAshDisableDragAndDropAppListToLauncher))
Shell::GetInstance()->SetDragAndDropHostOfCurrentAppList(this);
break;
}
« no previous file with comments | « ash/ash_switches.cc ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698