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

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

Issue 2034963002: Rename InkDropHover to InkDropHighlight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp file 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 452d3ae1297c26a2dc3c70719d9741f096fca96c..9d7acdfc452e5c8ad88a00f3a035de92b8cf3b1a 100644
--- a/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/bubble_icon_view.cc
@@ -13,7 +13,7 @@
#include "ui/gfx/paint_vector_icon.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/animation/button_ink_drop_delegate.h"
-#include "ui/views/animation/ink_drop_hover.h"
+#include "ui/views/animation/ink_drop_highlight.h"
#include "ui/views/bubble/bubble_dialog_delegate.h"
BubbleIconView::BubbleIconView(CommandUpdater* command_updater, int command_id)
@@ -146,10 +146,10 @@ void BubbleIconView::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
image_->SetPaintToLayer(false);
}
-std::unique_ptr<views::InkDropHover> BubbleIconView::CreateInkDropHover()
- const {
+std::unique_ptr<views::InkDropHighlight>
+BubbleIconView::CreateInkDropHighlight() const {
// BubbleIconView views don't show hover effect.
- return HasFocus() ? InkDropHostView::CreateInkDropHover() : nullptr;
+ return HasFocus() ? InkDropHostView::CreateInkDropHighlight() : nullptr;
}
SkColor BubbleIconView::GetInkDropBaseColor() const {

Powered by Google App Engine
This is Rietveld 408576698