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

Side by Side Diff: chrome/test/data/webui/settings/test_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, 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
« no previous file with comments | « chrome/test/data/webui/settings/site_list_tests.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Only used for tests.
7 * @typedef {{
8 * auto_downloads: !Array<!RawSiteException>},
9 * background_sync: !Array<!RawSiteException>},
10 * camera: !Array<!RawSiteException>},
11 * cookies: !Array<!RawSiteException>},
12 * geolocation: !Array<!RawSiteException>},
13 * javascript: !Array<!RawSiteException>},
14 * mic: !Array<!RawSiteException>},
15 * midiDevices: !Array<!RawSiteException>},
16 * notifications: !Array<!RawSiteException>},
17 * plugins: !Array<!RawSiteException>},
18 * popups: !Array<!RawSiteException>},
19 * unsandboxed_plugins: !Array<!RawSiteException>},
20 * }}
21 */
22 var ExceptionListPref;
23
24 /**
25 * In the real (non-test) code, these data come from the C++ handler.
26 * Only used for tests.
27 * @typedef {{defaults: CategoryDefaultsPref,
28 * exceptions: ExceptionListPref}}
29 */
30 var SiteSettingsPref;
31
32 /**
6 * An example empty pref. 33 * An example empty pref.
7 * @type {SiteSettingsPref} 34 * @type {SiteSettingsPref}
8 */ 35 */
9 var prefsEmpty = { 36 var prefsEmpty = {
10 defaults: { 37 defaults: {
11 auto_downloads: '', 38 auto_downloads: '',
12 background_sync: '', 39 background_sync: '',
13 camera: '', 40 camera: '',
14 cookies: '', 41 cookies: '',
15 geolocation: '', 42 geolocation: '',
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 /** @override */ 358 /** @override */
332 setProtocolDefault: function() { 359 setProtocolDefault: function() {
333 this.methodCalled('setProtocolDefault', arguments); 360 this.methodCalled('setProtocolDefault', arguments);
334 }, 361 },
335 362
336 /** @override */ 363 /** @override */
337 removeProtocolHandler: function() { 364 removeProtocolHandler: function() {
338 this.methodCalled('removeProtocolHandler', arguments); 365 this.methodCalled('removeProtocolHandler', arguments);
339 } 366 }
340 }; 367 };
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/site_list_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698