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

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

Issue 2323973002: Fix tooltip text for ContentSettingImageView. (Closed)
Patch Set: Created 4 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: chrome/browser/ui/views/location_bar/content_setting_image_view.h
diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.h b/chrome/browser/ui/views/location_bar/content_setting_image_view.h
index d0ef127833843a1286da1d94a16281167ae91255..ee2982aaa4983018b5dbbe5f4e0694c5067b2019 100644
--- a/chrome/browser/ui/views/location_bar/content_setting_image_view.h
+++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.h
@@ -62,6 +62,8 @@ class ContentSettingImageView : public IconLabelBubbleView,
bool OnMousePressed(const ui::MouseEvent& event) override;
void OnMouseReleased(const ui::MouseEvent& event) override;
void OnGestureEvent(ui::GestureEvent* event) override;
+ bool GetTooltipText(const gfx::Point& p,
+ base::string16* tooltip) const override;
void OnNativeThemeChanged(const ui::NativeTheme* native_theme) override;
bool ShouldShowInkDropForFocus() const override;
SkColor GetTextColor() const override;

Powered by Google App Engine
This is Rietveld 408576698