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

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

Issue 2070143003: Add MD ink drop ripple to app list button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b612539_shelf_button_ripple
Patch Set: Changed SetHasInkDrop to SetInkDropMode 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/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 f65691836bf60cff844d86cc35e81cfadbc2bd68..b72f16f5f3e09a7d0609c70886e05381fab8c456 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
@@ -46,7 +46,7 @@ ContentSettingImageView::ContentSettingImageView(
bubble_view_(nullptr),
suppress_mouse_released_action_(false) {
if (ui::MaterialDesignController::IsModeMaterial()) {
- SetHasInkDrop(true);
+ SetInkDropMode(INK_DROP_WITH_GESTURE_HANDLING);
} else {
static const int kBackgroundImages[] =
IMAGE_GRID(IDR_OMNIBOX_CONTENT_SETTING_BUBBLE);

Powered by Google App Engine
This is Rietveld 408576698