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

Unified Diff: chrome/test/data/webui/policy_ui_material.cc

Issue 1371073003: Display material design policies grouped by tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tags as string array. Removed listOf. Created 5 years, 2 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/test/data/webui/policy_ui_material.cc
diff --git a/chrome/test/data/webui/policy_ui_material.cc b/chrome/test/data/webui/policy_ui_material.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3234b071cea288fc9ddeca9d8f3aa08b21ad761b
--- /dev/null
+++ b/chrome/test/data/webui/policy_ui_material.cc
@@ -0,0 +1,14 @@
+#include "chrome/test/data/webui/policy_ui_material.h"
+
+#include "base/command_line.h"
+#include "chrome/common/chrome_switches.h"
+
+PolicyUiMaterialWebUITest::PolicyUiMaterialWebUITest() {}
+
+PolicyUiMaterialWebUITest::~PolicyUiMaterialWebUITest() {}
+
+void PolicyUiMaterialWebUITest::SetUpCommandLine(
+ base::CommandLine* command_line) {
+ WebUIBrowserTest::SetUpCommandLine(command_line);
+ command_line->AppendSwitch(switches::kEnableMaterialDesignPolicyPage);
Dan Beam 2015/11/03 18:22:31 why not just use commandLineSwitches in PolymerTes
fhorschig 2015/11/22 17:55:27 I tried doing that (like it was done here: [1]) an
+}

Powered by Google App Engine
This is Rietveld 408576698