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

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

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/bubble_icon_view.cc
diff --git a/chrome/browser/ui/views/location_bar/bubble_icon_view.cc b/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
index c444502114848374e1ddc0117c2a3c593ad777e1..2cc0c63027a9dc2071b6c305227e9a03e70e0911 100644
--- a/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
@@ -145,12 +145,6 @@ void BubbleIconView::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
image_->SetPaintToLayer(false);
}
-std::unique_ptr<views::InkDropHighlight>
-BubbleIconView::CreateInkDropHighlight() const {
- // BubbleIconView views don't show hover effect.
- return HasFocus() ? InkDropHostView::CreateInkDropHighlight() : nullptr;
-}
-
SkColor BubbleIconView::GetInkDropBaseColor() const {
return color_utils::DeriveDefaultIconColor(GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_TextfieldDefaultColor));

Powered by Google App Engine
This is Rietveld 408576698