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

Side by Side Diff: chrome/browser/resources/settings/settings_ui/settings_ui_types.js

Issue 2106103006: MD Settings: cr/cros - Guest mode page visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 5 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 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() {})();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698