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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_item_controller.h

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/launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/launcher_item_controller.h b/chrome/browser/ui/ash/launcher/launcher_item_controller.h
index 049e99d3ef8679b77b0e016902ed00137c0d57c5..45ac4015acbc641b6a46363c3863c7ebc12e1526 100644
--- a/chrome/browser/ui/ash/launcher/launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/launcher_item_controller.h
@@ -76,7 +76,9 @@ class LauncherItemController {
// windows associated with the item:
// * One window: toggles the minimize state.
// * Multiple windows: cycles the active window.
- virtual void Clicked() = 0;
+ // The |event| is dispatched by a view, therefore the type of the
+ // event's target is |views::View|.
+ virtual void Clicked(const ui::Event& event) = 0;
// Called when the controlled item is removed from the launcher.
virtual void OnRemoved() = 0;

Powered by Google App Engine
This is Rietveld 408576698