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 (function() { | 5 (function() { |
6 'use strict'; | 6 'use strict'; |
7 | 7 |
8 /** | 8 /** |
9 * 'site-data-details-subpage' Display cookie contents. | 9 * 'site-data-details-subpage' Display cookie contents. |
10 */ | 10 */ |
11 Polymer({ | 11 Polymer({ |
12 is: 'site-data-details-subpage', | 12 is: 'site-data-details-subpage', |
13 | 13 |
14 behaviors: [settings.RouteObserverBehavior, WebUIListenerBehavior], | 14 behaviors: [settings.RouteObserverBehavior, WebUIListenerBehavior], |
15 | 15 |
16 properties: { | 16 properties: { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 /** | 131 /** |
132 * A handler for when the user opts to remove all cookies. | 132 * A handler for when the user opts to remove all cookies. |
133 */ | 133 */ |
134 removeAll: function() { | 134 removeAll: function() { |
135 this.browserProxy_.removeCookie(this.siteId_); | 135 this.browserProxy_.removeCookie(this.siteId_); |
136 }, | 136 }, |
137 }); | 137 }); |
138 | 138 |
139 })(); | 139 })(); |
OLD | NEW |