|
Introduce Image loader extension.
Files.app's ui used to be unresponsive, when displaying large images. This was caused because of contex.drawImage() synchronous
call on the UI thread, which takes sometimes even 300 ms per one picture. In case of loading more images it causes ui freezes.
This patch solves this issue by introducing an image loader extension, which loads and resizes images asynchronously.
With this fix, we will be able to enable mosaic view on each volume, not only on Drive.
TEST=Check thumbnails in Files.app, including photo importer and gallery.
BUG= 175697, 176237, 168035
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184088
Total comments: 24
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+790 lines, -104 lines) |
Patch |
|
M |
build/common.gypi
|
View
|
1
2
3
|
5 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/browser_resources.grd
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/component_loader.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/component_loader.cc
|
View
|
1
2
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/component_extension_resources.grd
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/css/photo_import.css
|
View
|
1
2
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/gallery.html
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/action_choice.js
|
View
|
1
2
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/file_selection.js
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/image_editor/image_util.js
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/main_scripts.js
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/media/media_util.js
|
View
|
1
2
|
6 chunks |
+63 lines, -33 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/photo/gallery_scripts.js
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/photo/photo_import.js
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/photo/photo_import_scripts.js
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/photo/ribbon.js
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/js/util.js
|
View
|
1
2
3
|
1 chunk |
+19 lines, -63 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/main.html
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/file_manager/photo_import.html
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/resources/image_loader/client.js
|
View
|
1
2
|
1 chunk |
+302 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/resources/image_loader/image_loader.js
|
View
|
1
2
3
|
1 chunk |
+305 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/resources/image_loader/manifest.json
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|