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

Unified Diff: ash/common/system/chromeos/settings/tray_settings.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/settings/tray_settings.cc
diff --git a/ash/common/system/chromeos/settings/tray_settings.cc b/ash/common/system/chromeos/settings/tray_settings.cc
index 1eecf04a16812f78cc82765fffb2d0c1116ac482..a372def75848f7807f98e3bb5dea9b12673e77f6 100644
--- a/ash/common/system/chromeos/settings/tray_settings.cc
+++ b/ash/common/system/chromeos/settings/tray_settings.cc
@@ -79,6 +79,9 @@ class SettingsDefaultView : public ActionableView,
AddChildView(power_status_view_);
OnPowerStatusChanged();
}
+
+ if (MaterialDesignController::IsSystemTrayMenuMaterial())
+ SetInkDropMode(InkDropHostView::InkDropMode::ON);
}
~SettingsDefaultView() override { PowerStatus::Get()->RemoveObserver(this); }
« no previous file with comments | « no previous file | ash/common/system/chromeos/tray_caps_lock.cc » ('j') | ash/common/system/tray/actionable_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698