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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc

Issue 2034963002: Rename InkDropHover to InkDropHighlight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: relative patchset Created 4 years, 7 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/bookmarks/bookmark_bar_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
index 1d87919c8f7921cbf5d859d9ad397f10298b1016..a39ec0c8d958cb9ef9bb7906dcb92c7ccde47beb 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
@@ -97,7 +97,7 @@
#include "ui/resources/grit/ui_resources.h"
#include "ui/views/animation/button_ink_drop_delegate.h"
#include "ui/views/animation/flood_fill_ink_drop_ripple.h"
-#include "ui/views/animation/ink_drop_hover.h"
+#include "ui/views/animation/ink_drop_highlight.h"
#include "ui/views/button_drag_utils.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/button/label_button_border.h"
@@ -245,12 +245,13 @@ class BookmarkButtonBase : public views::LabelButton {
GetInkDropBaseColor()));
}
- std::unique_ptr<views::InkDropHover> CreateInkDropHover() const override {
- if (!ShouldShowInkDropHover())
+ std::unique_ptr<views::InkDropHighlight> CreateInkDropHighlight()
+ const override {
+ if (!ShouldShowInkDropHighlight())
return nullptr;
const gfx::Rect bounds = CalculateInkDropBounds(size());
- return base::WrapUnique(new views::InkDropHover(
+ return base::WrapUnique(new views::InkDropHighlight(
bounds.size(), 0, bounds.CenterPoint(), GetInkDropBaseColor()));
}
@@ -342,12 +343,13 @@ class BookmarkMenuButtonBase : public views::MenuButton {
GetInkDropBaseColor()));
}
- std::unique_ptr<views::InkDropHover> CreateInkDropHover() const override {
- if (!ShouldShowInkDropHover())
+ std::unique_ptr<views::InkDropHighlight> CreateInkDropHighlight()
+ const override {
+ if (!ShouldShowInkDropHighlight())
return nullptr;
const gfx::Rect bounds = CalculateInkDropBounds(size());
- return base::WrapUnique(new views::InkDropHover(
+ return base::WrapUnique(new views::InkDropHighlight(
bounds.size(), 0, bounds.CenterPoint(), GetInkDropBaseColor()));
}

Powered by Google App Engine
This is Rietveld 408576698