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

Unified Diff: chrome/browser/ui/views/location_bar/location_icon_view.h

Issue 6539013: views: Do not show up a tooltip when hovering on the magnifying glass on NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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/views/location_bar/location_icon_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.h b/chrome/browser/ui/views/location_bar/location_icon_view.h
index 7bc9c9d126a017c5f5c9ee26e290845637453f9d..55303edd4aa0b0388e7d929d0bc9d1ee59fcf0b9 100644
--- a/chrome/browser/ui/views/location_bar/location_icon_view.h
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.h
@@ -22,10 +22,13 @@ class LocationIconView : public views::ImageView {
explicit LocationIconView(const LocationBarView* location_bar);
virtual ~LocationIconView();
- // Overridden from view.
+ // Overridden from views::ImageView:
virtual bool OnMousePressed(const views::MouseEvent& event);
virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled);
+ // Whether we should show the tooltip for this icon or not.
+ void ShowTooltip(bool show);
+
private:
ClickHandler click_handler_;
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/location_bar/location_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698