Chromium Code Reviews| Index: chrome/browser/resources/file_manager/js/mock_chrome.js |
| =================================================================== |
| --- chrome/browser/resources/file_manager/js/mock_chrome.js (revision 138096) |
| +++ chrome/browser/resources/file_manager/js/mock_chrome.js (working copy) |
| @@ -614,7 +614,10 @@ |
| POWERPOINT_PRESENTATION_FILE_TYPE: 'PowerPoint presentation', |
| EXCEL_FILE_TYPE: 'Excel spreadsheet', |
| - SEARCH_NO_MATCHING_FILES: 'No files match <b>"$1"</b>' |
| + SEARCH_NO_MATCHING_FILES: 'No files match <b>"$1"</b>', |
| + |
| + TIME_TODAY: 'Today $1', |
| + TIME_YESTERDAY: 'Yesterday $1' |
| }); |
| } |
| }; |
| @@ -723,3 +726,27 @@ |
| this.popup_ = null; |
| } |
| }; |
| + |
| +/** |
| + * TODO(olege): Remove once a Chrome with this interface available is released. |
| + */ |
| +var v8Intl = (function() { |
| + |
| +var v8Intl = {}; |
| + |
| +/** |
| + * Constructs v8Intl.DateTimeFormat object given optional locales and options |
| + * parameters. |
| + * |
| + * @constructor |
|
dgozman
2012/05/21 15:45:41
missing @param
Oleg Eterevsky
2012/05/21 15:53:55
Done.
|
| + */ |
| +v8Intl.DateTimeFormat = function(locales, options) { |
| + return { |
| + format: function(dateValue) { |
| + return dateValue.toString(); |
| + } |
| + }; |
| +}; |
| + |
| +return v8Intl; |
| +}()); |