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

Side by Side Diff: ui/file_manager/gallery/js/image_editor/image_view.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 * The overlay displaying the image. 6 * The overlay displaying the image.
9 * 7 *
10 * @param {HTMLElement} container The container element. 8 * @param {HTMLElement} container The container element.
11 * @param {Viewport} viewport The viewport. 9 * @param {Viewport} viewport The viewport.
12 * @constructor 10 * @constructor
13 * @extends {ImageBuffer.Overlay} 11 * @extends {ImageBuffer.Overlay}
14 */ 12 */
15 function ImageView(container, viewport) { 13 function ImageView(container, viewport) {
16 ImageBuffer.Overlay.call(this); 14 ImageBuffer.Overlay.call(this);
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 }; 833 };
836 834
837 ImageView.Effect.Rotate.prototype = { __proto__: ImageView.Effect.prototype }; 835 ImageView.Effect.Rotate.prototype = { __proto__: ImageView.Effect.prototype };
838 836
839 /** 837 /**
840 * @override 838 * @override
841 */ 839 */
842 ImageView.Effect.Rotate.prototype.transform = function(element, viewport) { 840 ImageView.Effect.Rotate.prototype.transform = function(element, viewport) {
843 return viewport.getInverseTransformForRotatedImage(this.orientation_); 841 return viewport.getInverseTransformForRotatedImage(this.orientation_);
844 }; 842 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_util.js ('k') | ui/file_manager/gallery/js/image_editor/viewport.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698