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 for utility functions. | 8 * Namespace for utility functions. |
9 */ | 9 */ |
10 var filelist = {}; | 10 var filelist = {}; |
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1027 // crbug.com/246611. | 1027 // crbug.com/246611. |
1028 } | 1028 } |
1029 | 1029 |
1030 if (driveProps.customIconUrl) { | 1030 if (driveProps.customIconUrl) { |
1031 var iconDiv = li.querySelector('.detail-icon'); | 1031 var iconDiv = li.querySelector('.detail-icon'); |
1032 if (!iconDiv) | 1032 if (!iconDiv) |
1033 return; | 1033 return; |
1034 iconDiv.style.backgroundImage = 'url(' + driveProps.customIconUrl + ')'; | 1034 iconDiv.style.backgroundImage = 'url(' + driveProps.customIconUrl + ')'; |
1035 } | 1035 } |
1036 }; | 1036 }; |
OLD | NEW |