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

Side by Side Diff: chrome/browser/resources/options/profiles_icon_grid.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 cr.define('options', function() { 5 cr.define('options', function() {
6 /** @const */ var ListItem = cr.ui.ListItem; 6 /** @const */ var ListItem = cr.ui.ListItem;
7 /** @const */ var Grid = cr.ui.Grid; 7 /** @const */ var Grid = cr.ui.Grid;
8 /** @const */ var ListSingleSelectionModel = cr.ui.ListSingleSelectionModel; 8 /** @const */ var ListSingleSelectionModel = cr.ui.ListSingleSelectionModel;
9 9
10 /** 10 /**
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 Grid.prototype.decorate.call(this); 54 Grid.prototype.decorate.call(this);
55 this.selectionModel = new ListSingleSelectionModel(); 55 this.selectionModel = new ListSingleSelectionModel();
56 }, 56 },
57 57
58 /** @override */ 58 /** @override */
59 createItem: function(iconURL) { 59 createItem: function(iconURL) {
60 return new ProfilesIconGridItem(iconURL); 60 return new ProfilesIconGridItem(iconURL);
61 }, 61 },
62 }; 62 };
63 63
64 return { 64 return {ProfilesIconGrid: ProfilesIconGrid};
65 ProfilesIconGrid: ProfilesIconGrid
66 };
67 }); 65 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698