| 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 = { |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 | 492 |
| 493 return toggleState; | 493 return toggleState; |
| 494 }, | 494 }, |
| 495 | 495 |
| 496 /** | 496 /** |
| 497 * @param {!{model: !{item: !SiteException}}} e | 497 * @param {!{model: !{item: !SiteException}}} e |
| 498 * @private | 498 * @private |
| 499 */ | 499 */ |
| 500 onShowActionMenuTap_: function(e) { | 500 onShowActionMenuTap_: function(e) { |
| 501 this.actionMenuSite_ = e.model.item; | 501 this.actionMenuSite_ = e.model.item; |
| 502 /** @type {!SettingsActionMenuElement} */ ( | 502 /** @type {!CrActionMenuElement} */ ( |
| 503 this.$$('dialog[is=settings-action-menu]')).showAt( | 503 this.$$('dialog[is=cr-action-menu]')).showAt( |
| 504 /** @type {!Element} */ ( | 504 /** @type {!Element} */ ( |
| 505 Polymer.dom(/** @type {!Event} */ (e)).localTarget)); | 505 Polymer.dom(/** @type {!Event} */ (e)).localTarget)); |
| 506 }, | 506 }, |
| 507 | 507 |
| 508 /** @private */ | 508 /** @private */ |
| 509 closeActionMenu_: function() { | 509 closeActionMenu_: function() { |
| 510 this.actionMenuSite_ = null; | 510 this.actionMenuSite_ = null; |
| 511 /** @type {!SettingsActionMenuElement} */ ( | 511 /** @type {!CrActionMenuElement} */ ( |
| 512 this.$$('dialog[is=settings-action-menu]')).close(); | 512 this.$$('dialog[is=cr-action-menu]')).close(); |
| 513 }, | 513 }, |
| 514 }); | 514 }); |
| OLD | NEW |