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

Unified Diff: components/demo_ui/demo.json

Issue 925333002: Demo UI made with a help of WUG toolkit (DO NOT SEND TO CQ). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « components/demo_ui/BUILD.gn ('k') | components/demo_ui/events/events_demo.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/demo_ui/demo.json
diff --git a/components/demo_ui/demo.json b/components/demo_ui/demo.json
new file mode 100644
index 0000000000000000000000000000000000000000..6acb26ae08a903d4e5f3fb145d7852f4d3b1a099
--- /dev/null
+++ b/components/demo_ui/demo.json
@@ -0,0 +1,31 @@
+{
+ "imports": [
+ "components/demo_ui/events/events_demo.json",
+ "components/demo_ui/strings/strings_demo.json",
+ "components/demo_ui/reuse/reuse_demo.json"
+ ],
+ "type": "demo",
+ "children": [
+ { "id": "events", "type": "events_demo" },
+ { "id": "strings", "type": "strings_demo" },
+ { "id": "reuse", "type": "reuse_demo" }
+ ],
+ "context": [
+ { "name": "boolean_default", "type": "boolean" },
+ { "name": "boolean_true", "type": "boolean", "default": true },
+ { "name": "boolean_false", "type": "boolean", "default": false },
+ { "name": "int_default", "type": "integer" },
+ { "name": "int_33", "type": "integer", "default": 33 },
+ { "name": "double_default", "type": "double" },
+ { "name": "double_pi", "type": "double", "default": 3.1415 },
+ { "name": "string_default", "type": "string" },
+ { "name": "string_hello", "default": "Hello!" },
+ { "name": "string_list_default", "type": "string_list" },
+ {
+ "name": "string_list_fibo",
+ "type": "string_list",
+ "default": ["1", "1", "2", "3", "5", "8", "13"]
+ },
+ { "name": "username"}
+ ]
+}
« no previous file with comments | « components/demo_ui/BUILD.gn ('k') | components/demo_ui/events/events_demo.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698