Index: chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
index 2a9700fd4c013b5d501a8022400ba261ee6e22bf..3b5f6cb896e6f4f205757c30f05f926f04fb3895 100644 |
--- a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
+++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc |
@@ -18,6 +18,7 @@ |
#include "ui/events/event_utils.h" |
#include "ui/gfx/color_palette.h" |
#include "ui/gfx/color_utils.h" |
+#include "ui/views/animation/ink_drop_impl.h" |
#include "ui/views/controls/image_view.h" |
#include "ui/views/controls/label.h" |
#include "ui/views/widget/widget.h" |
@@ -149,8 +150,10 @@ void ContentSettingImageView::OnNativeThemeChanged( |
IconLabelBubbleView::OnNativeThemeChanged(native_theme); |
} |
-bool ContentSettingImageView::ShouldShowInkDropForFocus() const { |
- return true; |
+std::unique_ptr<views::InkDrop> ContentSettingImageView::CreateInkDrop() { |
+ std::unique_ptr<views::InkDropImpl> ink_drop = CreateDefaultInkDropImpl(); |
+ ink_drop->SetShowHighlightOnFocus(true); |
+ return std::move(ink_drop); |
} |
SkColor ContentSettingImageView::GetTextColor() const { |