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

Unified Diff: ash/launcher/launcher_view.cc

Issue 12093075: Move the panel to the root window where the mouse click occurred. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated comment Created 7 years, 11 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/launcher/launcher_util.cc ('k') | ash/shell/launcher_delegate_impl.h » ('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 53225faf3d03ad5af1e0ee514c3dd91a91bc04f5..d0c68af9423af8a3802c23877b5d59fb954b4711 100644
--- a/ash/launcher/launcher_view.cc
+++ b/ash/launcher/launcher_view.cc
@@ -1241,7 +1241,7 @@ void LauncherView::ButtonPressed(views::Button* sender,
case TYPE_APP_PANEL:
case TYPE_APP_SHORTCUT:
case TYPE_PLATFORM_APP:
- delegate_->ItemClicked(model_->items()[view_index], event.flags());
+ delegate_->ItemClicked(model_->items()[view_index], event);
break;
case TYPE_APP_LIST:
Shell::GetInstance()->ToggleAppList(GetWidget()->GetNativeView());
« no previous file with comments | « ash/launcher/launcher_util.cc ('k') | ash/shell/launcher_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698