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

Unified Diff: ash/launcher/launcher_view.cc

Issue 23536012: [ash] Hide tooltip when mouse button is pressed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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: ash/launcher/launcher_view.cc
diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc
index 893edcc7b0e5f32112244ed3e1860145c20f2709..ce43c6085476789ad69c3e86d7b4756ff046b7b9 100644
--- a/ash/launcher/launcher_view.cc
+++ b/ash/launcher/launcher_view.cc
@@ -1517,7 +1517,6 @@ void LauncherView::PointerPressedOnButton(views::View* view,
if (drag_view_)
return;
- tooltip_->Close();
int index = view_model_->GetIndexOfView(view);
if (index == -1)
return;
@@ -1605,8 +1604,6 @@ void LauncherView::ButtonPressed(views::Button* sender,
if (dragging())
return;
- tooltip_->Close();
-
if (sender == overflow_button_) {
ToggleOverflowBubble();
return;
@@ -1697,8 +1694,6 @@ void LauncherView::ShowContextMenuForView(views::View* source,
view_index = -1;
}
- tooltip_->Close();
-
if (view_index == -1) {
Shell::GetInstance()->ShowContextMenu(point, source_type);
return;
« ash/launcher/launcher_tooltip_manager.cc ('K') | « ash/launcher/launcher_tooltip_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698