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

Unified Diff: ash/common/system/chromeos/tray_caps_lock.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/chromeos/tray_caps_lock.cc
diff --git a/ash/common/system/chromeos/tray_caps_lock.cc b/ash/common/system/chromeos/tray_caps_lock.cc
index 81ba7493b2e6f5d035d7643378021d5af5654a4f..337dddfb06c7cacb624567f0c9c9fa3942622d94 100644
--- a/ash/common/system/chromeos/tray_caps_lock.cc
+++ b/ash/common/system/chromeos/tray_caps_lock.cc
@@ -64,6 +64,9 @@ class CapsLockDefaultView : public ActionableView {
shortcut_label_->SetEnabled(false);
AddChildView(shortcut_label_);
+
+ if (MaterialDesignController::IsSystemTrayMenuMaterial())
+ SetInkDropMode(InkDropHostView::InkDropMode::ON);
}
~CapsLockDefaultView() override {}

Powered by Google App Engine
This is Rietveld 408576698