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

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

Issue 2098643002: Add ink drop highlight for hover and focus on location icons (e.g. star, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: docs Created 4 years, 6 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 7f8f33adc35853c4087318806f78bf40d22cce42..c3dae045eaaa2b753d1f14417d70aeee7052576c 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
@@ -67,6 +67,7 @@ class ContentSettingImageView : public IconLabelBubbleView,
void OnMouseReleased(const ui::MouseEvent& event) override;
void OnGestureEvent(ui::GestureEvent* event) override;
void OnNativeThemeChanged(const ui::NativeTheme* native_theme) override;
+ bool ShouldShowInkDropForFocus() const override;
SkColor GetTextColor() const override;
SkColor GetBorderColor() const override;
bool ShouldShowBackground() const override;

Powered by Google App Engine
This is Rietveld 408576698