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

Unified Diff: ash/common/material_design/material_design_controller.cc

Issue 2174643002: [ash-md] Updates ash shelf tooltips to MD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: ash/common/material_design/material_design_controller.cc
diff --git a/ash/common/material_design/material_design_controller.cc b/ash/common/material_design/material_design_controller.cc
index 0c2bc5572188ef7979ef281885969a481116e46d..c353c783881381ba700ac68586d6d34b9cb87f7f 100644
--- a/ash/common/material_design/material_design_controller.cc
+++ b/ash/common/material_design/material_design_controller.cc
@@ -68,6 +68,11 @@ bool MaterialDesignController::IsShelfMaterial() {
}
// static
+bool MaterialDesignController::IsTooltipMaterial() {
+ return MaterialDesignController::IsMaterialExperimental();
+}
+
+// static
bool MaterialDesignController::UseMaterialDesignSystemIcons() {
return MaterialDesignController::IsMaterialExperimental();
}

Powered by Google App Engine
This is Rietveld 408576698