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

Side by Side Diff: chrome/browser/resources/file_manager/js/photo/source.js

Issue 12212187: [Cleanup] Files.app: Misc style fixes in Javascript code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 /** 5 /**
6 * The album. 6 * The album.
7 * @constructor 7 *
8 * @param {PhotoSource} source The parent source. 8 * @param {PhotoSource} source The parent source.
9 * @param {string} name The album name. 9 * @param {string} name The album name.
10 * @constructor
10 */ 11 */
11 function Album(source, name) { 12 function Album(source, name) {
12 this.source_ = source; 13 this.source_ = source;
13 this.name_ = name; 14 this.name_ = name;
14 this.entries_ = null; 15 this.entries_ = null;
15 } 16 }
16 17
17 Album.prototype = { __proto__: cr.EventTarget.prototype }; 18 Album.prototype = { __proto__: cr.EventTarget.prototype };
18 19
19 /** 20 /**
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 ImportPhotoSource.prototype.getType = function() { 141 ImportPhotoSource.prototype.getType = function() {
141 return 'import'; 142 return 'import';
142 }; 143 };
143 144
144 /** 145 /**
145 * @return {Album} The album. 146 * @return {Album} The album.
146 */ 147 */
147 ImportPhotoSource.prototype.getAlbums = function() { 148 ImportPhotoSource.prototype.getAlbums = function() {
148 return this.albums_; 149 return this.albums_;
149 }; 150 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698