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

Side by Side 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: Merge fix Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5
6 /**
7 * @fileoverview Typedefs for CrOncDataElement.data. Note: These 'types' define
8 * a subset of ONC properties in the ONC data dictionary. The first letter is
9 * capitalized to match the ONC spec and avoid an extra layer of translation.
10 * See components/onc/docs/onc_spec.html for the complete spec.
11 */
12
13 var CrOnc = {};
14
15 /** @typedef {string|!Object} */
16 CrOnc.ManagedStringType;
17
18 /**
19 * @typedef {{NetworkTechnology: string, Strength: number}}
20 */
21 CrOnc.CellularType;
22
23 /**
24 * @typedef {{Security: string, Strength: number}}
25 */
26 CrOnc.WiFiType;
27
28 /**
29 * @typedef {{Strength: number}}
30 */
31 CrOnc.WiMAXType;
32
33 /** @enum {string} */
34 CrOnc.Type = {
35 CELLULAR: "Cellular",
36 ETHERNET: "Ethernet",
37 VPN: "VPN",
38 WIFI: "WiFi",
39 WIMAX: "WiMAX",
40 };
41
42 /**
43 * @typedef {{
44 * Cellular: CrOnc.CellularType,
45 * ConnectionState: string,
46 * GUID: string,
47 * Name: CrOnc.ManagedStringType,
48 * Type: string,
49 * WiFi: CrOnc.WiFiType,
50 * WiMAX: CrOnc.WiMAXType
51 * }}
52 */
53 CrOnc.NetworkConfigType;
OLDNEW
« no previous file with comments | « ui/webui/resources/cr_elements/cr_onc/cr_onc_data_externs.js ('k') | ui/webui/resources/cr_elements_images.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698