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

Side by Side Diff: ui/file_manager/gallery/js/image_editor/image_editor.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, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 * ImageEditor is the top level object that holds together and connects 6 * ImageEditor is the top level object that holds together and connects
9 * everything needed for image editing. 7 * everything needed for image editing.
10 * 8 *
11 * @param {Viewport} viewport The viewport. 9 * @param {Viewport} viewport The viewport.
12 * @param {ImageView} imageView The ImageView containing the images to edit. 10 * @param {ImageView} imageView The ImageView containing the images to edit.
13 * @param {ImageEditor.Prompt} prompt Prompt instance. 11 * @param {ImageEditor.Prompt} prompt Prompt instance.
14 * @param {Object} DOMContainers Various DOM containers required for the editor. 12 * @param {Object} DOMContainers Various DOM containers required for the editor.
15 * @param {Array.<ImageEditor.Mode>} modes Available editor modes. 13 * @param {Array.<ImageEditor.Mode>} modes Available editor modes.
16 * @param {function(string, ...[string])} displayStringFunction String 14 * @param {function(string, ...[string])} displayStringFunction String
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 1196
1199 /** 1197 /**
1200 * Hide the prompt. 1198 * Hide the prompt.
1201 */ 1199 */
1202 ImageEditor.Prompt.prototype.hide = function() { 1200 ImageEditor.Prompt.prototype.hide = function() {
1203 if (!this.prompt_) return; 1201 if (!this.prompt_) return;
1204 this.prompt_.setAttribute('state', 'fadeout'); 1202 this.prompt_.setAttribute('state', 'fadeout');
1205 // Allow some time for the animation to play out. 1203 // Allow some time for the animation to play out.
1206 this.setTimer(this.reset.bind(this), 500); 1204 this.setTimer(this.reset.bind(this), 500);
1207 }; 1205 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_buffer.js ('k') | ui/file_manager/gallery/js/image_editor/image_encoder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698