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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.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
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
index 5b6fd4f1c5798305301f7b1e74994f64fd6d52f0..077a95958e624c58c5998c9c0b2acf85ddf5efcb 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc
@@ -786,9 +786,9 @@ void ChromeLauncherControllerPerApp::OnBrowserShortcutClicked(
}
void ChromeLauncherControllerPerApp::ItemClicked(const ash::LauncherItem& item,
- int event_flags) {
+ const ui::Event& event) {
DCHECK(HasItemController(item.id));
- id_to_item_controller_map_[item.id]->Clicked();
+ id_to_item_controller_map_[item.id]->Clicked(event);
}
int ChromeLauncherControllerPerApp::GetBrowserShortcutResourceId() {

Powered by Google App Engine
This is Rietveld 408576698