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

Unified Diff: ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js

Issue 874283006: Add custom Polymer network icon element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add cr-onc-data, move files, rebase 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
Index: ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js
diff --git a/ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js b/ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js
new file mode 100644
index 0000000000000000000000000000000000000000..803524830538be078d144cbdab0815327ac4285f
--- /dev/null
+++ b/ui/webui/resources/cr_elements/cr_onc/cr-onc-types.js
@@ -0,0 +1,36 @@
+var CrOnc = {};
+
+/** @typedef {string | !Object} */
+CrOnc.ManagedStringType;
+
+/**
+ * @typedef {{
+ * NetworkTechnology: string,
+ * Strength: number }}
+ */
+CrOnc.CellularType;
+
+/**
+ * @typedef {{
+ * Security: string,
+ * Strength: number }}
+ */
+CrOnc.WiFiType;
+
+/**
+ * @typedef {{
+ * Strength: number }}
+ */
+CrOnc.WiMAXType;
+
+/**
+ * @typedef {{
+ * ConnectionState: string,
+ * Cellular: CelluarType,
michaelpg 2015/02/09 19:38:54 nit: did you intend to keep these alphabetical?
stevenjb 2015/02/10 00:22:04 Done.
+ * GUID: string,
+ * Name: ManagedStringType,
+ * Type: string,
+ * WiFi: WiFiType,
+ * WiMAX: WiMAXType }}
+ */
+CrOnc.NetworkConfigType;

Powered by Google App Engine
This is Rietveld 408576698