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

Side by Side Diff: chrome/browser/resources/chromeos/user_images_grid.js

Issue 10356042: Fix presubmit js style nits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/chromeos/sim_unlock.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ArrayDataModel = cr.ui.ArrayDataModel; 6 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel;
7 const Grid = cr.ui.Grid; 7 /** @const */ var Grid = cr.ui.Grid;
8 const GridItem = cr.ui.GridItem; 8 /** @const */ var GridItem = cr.ui.GridItem;
9 const GridSelectionController = cr.ui.GridSelectionController; 9 /** @const */ var GridSelectionController = cr.ui.GridSelectionController;
10 const ListSingleSelectionModel = cr.ui.ListSingleSelectionModel; 10 /** @const */ var ListSingleSelectionModel = cr.ui.ListSingleSelectionModel;
11 11
12 /** 12 /**
13 * Creates a new user images grid item. 13 * Creates a new user images grid item.
14 * @param {{url: string, title: string=, decorateFn: function=, 14 * @param {{url: string, title: string=, decorateFn: function=,
15 * clickHandler: function=}} imageInfo User image URL, optional title, 15 * clickHandler: function=}} imageInfo User image URL, optional title,
16 * decorator callback and click handler. 16 * decorator callback and click handler.
17 * @constructor 17 * @constructor
18 * @extends {cr.ui.GridItem} 18 * @extends {cr.ui.GridItem}
19 */ 19 */
20 function UserImagesGridItem(imageInfo) { 20 function UserImagesGridItem(imageInfo) {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 UserImagesGrid.ButtonImages = { 248 UserImagesGrid.ButtonImages = {
249 TAKE_PHOTO: 'chrome://theme/IDR_BUTTON_USER_IMAGE_TAKE_PHOTO', 249 TAKE_PHOTO: 'chrome://theme/IDR_BUTTON_USER_IMAGE_TAKE_PHOTO',
250 CHOOSE_FILE: 'chrome://theme/IDR_BUTTON_USER_IMAGE_CHOOSE_FILE', 250 CHOOSE_FILE: 'chrome://theme/IDR_BUTTON_USER_IMAGE_CHOOSE_FILE',
251 PROFILE_PICTURE: 'chrome://theme/IDR_PROFILE_PICTURE_LOADING' 251 PROFILE_PICTURE: 'chrome://theme/IDR_PROFILE_PICTURE_LOADING'
252 }; 252 };
253 253
254 return { 254 return {
255 UserImagesGrid: UserImagesGrid 255 UserImagesGrid: UserImagesGrid
256 }; 256 };
257 }); 257 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/sim_unlock.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698