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

Side by Side Diff: chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js

Issue 2769303004: [MD setting] tool tips on controlledBy site exceptions (Closed)
Patch Set: unit test and review changes Created 3 years, 8 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview A helper object used from the "Site Settings" section to 6 * @fileoverview A helper object used from the "Site Settings" section to
7 * interact with the content settings prefs. 7 * interact with the content settings prefs.
8 */ 8 */
9 9
10 /** 10 /**
(...skipping 23 matching lines...) Expand all
34 /** 34 /**
35 * The site exception after it has been converted/filtered for UI use. 35 * The site exception after it has been converted/filtered for UI use.
36 * See also: RawSiteException. 36 * See also: RawSiteException.
37 * @typedef {{category: !settings.ContentSettingsTypes, 37 * @typedef {{category: !settings.ContentSettingsTypes,
38 * embeddingOrigin: string, 38 * embeddingOrigin: string,
39 * embeddingDisplayName: string, 39 * embeddingDisplayName: string,
40 * incognito: boolean, 40 * incognito: boolean,
41 * origin: string, 41 * origin: string,
42 * displayName: string, 42 * displayName: string,
43 * setting: string, 43 * setting: string,
44 * source: string}} 44 * enforcement: string,
45 * controlledBy: string}}
45 */ 46 */
46 var SiteException; 47 var SiteException;
47 48
48 /** 49 /**
49 * @typedef {{location: string, 50 * @typedef {{location: string,
50 * notifications: string}} 51 * notifications: string}}
51 */ 52 */
52 var CategoryDefaultsPref; 53 var CategoryDefaultsPref;
53 54
54 /** 55 /**
55 * @typedef {{setting: string, 56 * @typedef {{setting: string,
56 * source: ContentSettingProvider}} 57 * source: ContentSettingProvider}}
57 */ 58 */
58 var DefaultContentSetting; 59 var DefaultContentSetting;
59 60
60 /** 61 /**
61 * @typedef {{location: Array<SiteException>,
62 * notifications: Array<SiteException>}}
63 */
64 var ExceptionListPref;
65
66 /**
67 * @typedef {{defaults: CategoryDefaultsPref,
68 * exceptions: ExceptionListPref}}
69 */
70 var SiteSettingsPref;
71
72 /**
73 * @typedef {{name: string, 62 * @typedef {{name: string,
74 * id: string}} 63 * id: string}}
75 */ 64 */
76 var MediaPickerEntry; 65 var MediaPickerEntry;
77 66
78 /** 67 /**
79 * @typedef {{protocol: string, 68 * @typedef {{protocol: string,
80 * spec: string}} 69 * spec: string}}
81 */ 70 */
82 var ProtocolHandlerEntry; 71 var ProtocolHandlerEntry;
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 removeZoomLevel: function(host) { 421 removeZoomLevel: function(host) {
433 chrome.send('removeZoomLevel', [host]); 422 chrome.send('removeZoomLevel', [host]);
434 }, 423 },
435 }; 424 };
436 425
437 return { 426 return {
438 SiteSettingsPrefsBrowserProxy: SiteSettingsPrefsBrowserProxy, 427 SiteSettingsPrefsBrowserProxy: SiteSettingsPrefsBrowserProxy,
439 SiteSettingsPrefsBrowserProxyImpl: SiteSettingsPrefsBrowserProxyImpl, 428 SiteSettingsPrefsBrowserProxyImpl: SiteSettingsPrefsBrowserProxyImpl,
440 }; 429 };
441 }); 430 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698