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

Side by Side Diff: ui/file_manager/gallery/js/image_editor/image_util.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
8 // Namespace object for the utilities. 5 // Namespace object for the utilities.
9 function ImageUtil() {} 6 function ImageUtil() {}
10 7
11 /** 8 /**
12 * Performance trace. 9 * Performance trace.
13 */ 10 */
14 ImageUtil.trace = (function() { 11 ImageUtil.trace = (function() {
15 function PerformanceTrace() { 12 function PerformanceTrace() {
16 this.lines_ = {}; 13 this.lines_ = {};
17 this.timers_ = {}; 14 this.timers_ = {};
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 * @return {string} Full name. 685 * @return {string} Full name.
689 */ 686 */
690 ImageUtil.getMetricName = function(name) { 687 ImageUtil.getMetricName = function(name) {
691 return 'PhotoEditor.' + name; 688 return 'PhotoEditor.' + name;
692 }; 689 };
693 690
694 /** 691 /**
695 * Used for metrics reporting, keep in sync with the histogram description. 692 * Used for metrics reporting, keep in sync with the histogram description.
696 */ 693 */
697 ImageUtil.FILE_TYPES = ['jpg', 'png', 'gif', 'bmp', 'webp']; 694 ImageUtil.FILE_TYPES = ['jpg', 'png', 'gif', 'bmp', 'webp'];
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/image_editor/image_transform.js ('k') | ui/file_manager/gallery/js/image_editor/image_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698