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

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

Issue 2834433002: MD Settings: ESLint --fix output, WIP. (Closed)
Patch Set: Created 3 years, 8 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 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 * @fileoverview 6 * @fileoverview
7 * 'zoom-levels' is the polymer element for showing the sites that are zoomed in 7 * 'zoom-levels' is the polymer element for showing the sites that are zoomed in
8 * or out. 8 * or out.
9 */ 9 */
10 10
(...skipping 23 matching lines...) Expand all
34 */ 34 */
35 onZoomLevelsChanged_: function(sites) { 35 onZoomLevelsChanged_: function(sites) {
36 this.sites_ = sites; 36 this.sites_ = sites;
37 }, 37 },
38 38
39 /** 39 /**
40 * A handler for when a zoom level for a site is deleted. 40 * A handler for when a zoom level for a site is deleted.
41 * @param {!{model: !{index: number}}} event 41 * @param {!{model: !{index: number}}} event
42 * @private 42 * @private
43 */ 43 */
44 removeZoomLevel_: function(event) { 44 removeZoomLevel_: function(event) {
45 var site = this.sites_[event.model.index]; 45 var site = this.sites_[event.model.index];
46 this.browserProxy.removeZoomLevel(site.origin); 46 this.browserProxy.removeZoomLevel(site.origin);
47 }, 47 },
48 }); 48 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698