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

Unified Diff: ash/shelf/shelf_tooltip_manager.cc

Issue 1949823002: WIP: Eliminate event.target() usage from TrayEventFilter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: container delegate Created 4 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/shelf/shelf_tooltip_manager.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_tooltip_manager.cc
diff --git a/ash/shelf/shelf_tooltip_manager.cc b/ash/shelf/shelf_tooltip_manager.cc
index 2aa93fde3d6b1869366ae4969f557c9c1b924ab7..9cd41d6b274616e0a5613f6f017a9b966b02bc2b 100644
--- a/ash/shelf/shelf_tooltip_manager.cc
+++ b/ash/shelf/shelf_tooltip_manager.cc
@@ -174,13 +174,15 @@ void ShelfTooltipManager::ShowTooltipWithDelay(views::View* view) {
}
void ShelfTooltipManager::OnMousePressed(const ui::MouseEvent& event,
- const gfx::Point& location_in_screen) {
+ const gfx::Point& location_in_screen,
+ views::Widget* target) {
// Close on any mouse press events inside or outside the tooltip.
Close();
}
void ShelfTooltipManager::OnTouchPressed(const ui::TouchEvent& event,
- const gfx::Point& location_in_screen) {
+ const gfx::Point& location_in_screen,
+ views::Widget* target) {
// Close on any touch press events inside or outside the tooltip.
Close();
}
« no previous file with comments | « ash/shelf/shelf_tooltip_manager.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698