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

Unified Diff: ash/common/system/tray/tray_item_more.cc

Issue 2457393006: [ash-md] Added ink drop to system menu rows that inherit from ActionableView. (Closed)
Patch Set: Upload diff delta based on dependant CL. Created 4 years, 1 month 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: ash/common/system/tray/tray_item_more.cc
diff --git a/ash/common/system/tray/tray_item_more.cc b/ash/common/system/tray/tray_item_more.cc
index 2854ed0d0b480b7f53c08ad037b9db4ff9670e13..29a8cf32161a6d5dbff27a97784d34f8d49c2236 100644
--- a/ash/common/system/tray/tray_item_more.cc
+++ b/ash/common/system/tray/tray_item_more.cc
@@ -54,6 +54,9 @@ TrayItemMore::TrayItemMore(SystemTrayItem* owner, bool show_more)
} else {
tri_view->SetContainerVisible(TriView::Container::END, false);
}
+
+ if (MaterialDesignController::IsSystemTrayMenuMaterial())
+ SetInkDropMode(InkDropHostView::InkDropMode::ON);
}
TrayItemMore::~TrayItemMore() {}

Powered by Google App Engine
This is Rietveld 408576698