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

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: '' 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
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 var ArrayDataModel = cr.ui.ArrayDataModel;
Ivan Korotkov 2012/05/07 10:50:07 Please use the "/** @const */ var ... = ..." style
kmadhusu 2012/05/08 20:20:19 Done.
7 const Grid = cr.ui.Grid; 7 var Grid = cr.ui.Grid;
8 const GridItem = cr.ui.GridItem; 8 var GridItem = cr.ui.GridItem;
9 const GridSelectionController = cr.ui.GridSelectionController; 9 var GridSelectionController = cr.ui.GridSelectionController;
10 const ListSingleSelectionModel = cr.ui.ListSingleSelectionModel; 10 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

Powered by Google App Engine
This is Rietveld 408576698