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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

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
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_icon_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index 19fd602b1b5eec4cd7a2123a3349e6926bf36512..076fb704be886d63437e79c225c0954c686ba878 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -828,6 +828,8 @@ void LocationBarView::OnChanged() {
location_icon_view_->SetImage(
ResourceBundle::GetSharedInstance().GetBitmapNamed(
location_entry_->GetIcon()));
+ location_icon_view_->ShowTooltip(!location_entry()->IsEditingOrEmpty());
+
Layout();
SchedulePaint();
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_icon_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698