OLD | NEW |
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 'use strict'; | 5 'use strict'; |
6 | 6 |
7 | 7 |
8 // Namespace object for the utilities. | 8 // Namespace object for the utilities. |
9 function ImageUtil() {} | 9 function ImageUtil() {} |
10 | 10 |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 * @return {string} Full name. | 692 * @return {string} Full name. |
693 */ | 693 */ |
694 ImageUtil.getMetricName = function(name) { | 694 ImageUtil.getMetricName = function(name) { |
695 return 'PhotoEditor.' + name; | 695 return 'PhotoEditor.' + name; |
696 }; | 696 }; |
697 | 697 |
698 /** | 698 /** |
699 * Used for metrics reporting, keep in sync with the histogram description. | 699 * Used for metrics reporting, keep in sync with the histogram description. |
700 */ | 700 */ |
701 ImageUtil.FILE_TYPES = ['jpg', 'png', 'gif', 'bmp', 'webp']; | 701 ImageUtil.FILE_TYPES = ['jpg', 'png', 'gif', 'bmp', 'webp']; |
OLD | NEW |