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

Side by Side Diff: ui/file_manager/image_loader/request.js

Issue 676633002: Remove file-level 'use strict' from file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 'use strict';
6
7 /** 5 /**
8 * @typedef {{ 6 * @typedef {{
9 * cache: (boolean|undefined), 7 * cache: (boolean|undefined),
10 * priority: (number|undefined), 8 * priority: (number|undefined),
11 * taskId: number, 9 * taskId: number,
12 * timestamp: (number|undefined), 10 * timestamp: (number|undefined),
13 * url: string 11 * url: string
14 * }} 12 * }}
15 */ 13 */
16 var LoadImageRequest; 14 var LoadImageRequest;
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 this.image_.src = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAA' + 445 this.image_.src = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAA' +
448 'ABAAEAAAICTAEAOw=='; 446 'ABAAEAAAICTAEAOw==';
449 447
450 this.xhr_.onload = function() {}; 448 this.xhr_.onload = function() {};
451 this.xhr_.abort(); 449 this.xhr_.abort();
452 450
453 // Dispose memory allocated by Canvas. 451 // Dispose memory allocated by Canvas.
454 this.canvas_.width = 0; 452 this.canvas_.width = 0;
455 this.canvas_.height = 0; 453 this.canvas_.height = 0;
456 }; 454 };
OLDNEW
« no previous file with comments | « ui/file_manager/image_loader/image_loader_client.js ('k') | ui/file_manager/image_loader/scheduler.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698