OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 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 * @fileoverview Closure typedefs for settings_ui. | |
7 */ | |
8 | |
9 /** | |
10 * Specifies page visibility in guest mode in cr and cros. | |
11 * @typedef {{ | |
12 * advancedSettings: (boolean|undefined), | |
13 * appearance: (boolean|undefined|AppearancePageVisibility), | |
14 * dateTime: (boolean|undefined|DateTimePageVisibility), | |
15 * defaultBrowser: (boolean|undefined), | |
16 * downloads: (undefined|DownloadsPageVisibility), | |
17 * onStartup: (boolean|undefined), | |
18 * passwordsAndForms: (boolean|undefined), | |
19 * people: (boolean|undefined), | |
20 * privacy: (undefined|PrivacyPageVisibility), | |
21 * reset:(boolean|undefined), | |
michaelpg
2016/07/26 04:02:55
I thought closure objects couldn't end in commas l
Moe
2016/07/27 01:11:05
It seems to compile just fine.
| |
22 * }} | |
23 */ | |
24 var GuestModePageVisibility; | |
25 | |
26 /** | |
27 * @typedef {{ | |
28 * bookmarksBar: boolean, | |
29 * homeButton: boolean, | |
30 * pageZoom: boolean, | |
31 * setTheme: boolean, | |
32 * setWallpaper: boolean, | |
33 * }} | |
34 */ | |
35 var AppearancePageVisibility; | |
36 | |
37 /** | |
38 * @typedef {{ | |
39 * timeZoneSelector: boolean, | |
40 * }} | |
41 */ | |
42 var DateTimePageVisibility; | |
43 | |
44 /** | |
45 * @typedef {{ | |
46 * googleDrive: boolean | |
47 * }} | |
48 */ | |
49 var DownloadsPageVisibility; | |
50 | |
51 /** | |
52 * @typedef {{ | |
53 * networkPrediction: boolean, | |
54 * searchPrediction: boolean, | |
55 * }} | |
56 */ | |
57 var PrivacyPageVisibility; | |
58 | |
59 // TODO(mahmadi): Dummy code for closure compiler to process this file. | |
60 (function foo() {})(); | |
OLD | NEW |