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

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

Issue 2682423002: [MD settings] change menu and domain icons (Closed)
Patch Set: updated comment Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 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 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 * Enumeration mapping all possible controlled-by values for exceptions to 6 * Enumeration mapping all possible controlled-by values for exceptions to
7 * icons. 7 * icons.
8 * @enum {string} 8 * @enum {string}
9 */ 9 */
10 var iconControlledBy = { 10 var iconControlledBy = {
11 'extension': 'cr:extension', 11 'extension': 'cr:extension',
12 'HostedApp': 'cr:extension', 12 'HostedApp': 'cr:extension',
13 'platform_app': 'cr:extension', 13 'platform_app': 'cr:extension',
14 'policy' : 'cr:domain', 14 'policy' : 'cr20:domain',
15 }; 15 };
16 16
17 /** 17 /**
18 * @fileoverview 18 * @fileoverview
19 * 'site-list' shows a list of Allowed and Blocked sites for a given 19 * 'site-list' shows a list of Allowed and Blocked sites for a given
20 * category. 20 * category.
21 */ 21 */
22 Polymer({ 22 Polymer({
23 23
24 is: 'site-list', 24 is: 'site-list',
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 466
467 /** @private */ 467 /** @private */
468 closeActionMenu_: function() { 468 closeActionMenu_: function() {
469 this.actionMenuSite_ = null; 469 this.actionMenuSite_ = null;
470 var actionMenu = /** @type {!CrActionMenuElement} */ ( 470 var actionMenu = /** @type {!CrActionMenuElement} */ (
471 this.$$('dialog[is=cr-action-menu]')); 471 this.$$('dialog[is=cr-action-menu]'));
472 if (actionMenu.open) 472 if (actionMenu.open)
473 actionMenu.close(); 473 actionMenu.close();
474 }, 474 },
475 }); 475 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/privacy_page/privacy_page.html ('k') | chrome/test/data/webui/settings/about_page_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698