| OLD | NEW |
| 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 Loading... |
| 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 }); |
| OLD | NEW |