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

Unified Diff: chrome/browser/ui/views/download/download_item_view_md.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/download/download_item_view_md.cc
diff --git a/chrome/browser/ui/views/download/download_item_view_md.cc b/chrome/browser/ui/views/download/download_item_view_md.cc
index 25d1cceede768899fdd41ab817e3873eb1bd07f6..00324cf8306e71b517d067254ef54b18c8a911ab 100644
--- a/chrome/browser/ui/views/download/download_item_view_md.cc
+++ b/chrome/browser/ui/views/download/download_item_view_md.cc
@@ -60,7 +60,7 @@
#include "ui/gfx/vector_icons_public.h"
#include "ui/views/animation/flood_fill_ink_drop_ripple.h"
#include "ui/views/animation/ink_drop_delegate.h"
-#include "ui/views/animation/ink_drop_hover.h"
+#include "ui/views/animation/ink_drop_highlight.h"
#include "ui/views/border.h"
#include "ui/views/controls/button/image_button.h"
#include "ui/views/controls/button/md_text_button.h"
@@ -479,13 +479,13 @@ std::unique_ptr<views::InkDropRipple> DownloadItemViewMd::CreateInkDropRipple()
color_utils::DeriveDefaultIconColor(GetTextColor())));
}
-std::unique_ptr<views::InkDropHover> DownloadItemViewMd::CreateInkDropHover()
- const {
+std::unique_ptr<views::InkDropHighlight>
+DownloadItemViewMd::CreateInkDropHighlight() const {
if (IsShowingWarningDialog())
return nullptr;
gfx::Size size = GetPreferredSize();
- return base::WrapUnique(new views::InkDropHover(
+ return base::WrapUnique(new views::InkDropHighlight(
size, kInkDropSmallCornerRadius, gfx::Rect(size).CenterPoint(),
color_utils::DeriveDefaultIconColor(GetTextColor())));
}
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view_md.h ('k') | chrome/browser/ui/views/location_bar/bubble_icon_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698