|
Eliminate all UI thread decoding of extension images.
Except one, that is. We have one location we need to
take a look at (I've added a comment). This changelist
converts UI usage of DecodeImage on the UI thread to
a revamped and simplified ImageLoadingTracker class.
I plan on adding to GetFilePath a DCHECK for the File
thread but decided to do so in another changelist,
since it has a high likelyhood of flushing something
out and be backed out because of that. This started
out as issue 38521 (make infobar use cached icons)
but grew in scope to just eliminate all UI thread
access to DecodeImage and GetFilePath.
BUG=http://crbug.com/38521
TEST=None (extensions should work as before)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42471
Total comments: 2
Total comments: 6
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+404 lines, -369 lines) |
Patch |
 |
M |
chrome/browser/cocoa/extensions/browser_action_button.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/extensions/extension_action_context_menu.mm
|
View
|
7
8
9
10
11
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/location_bar_view_mac.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/location_bar_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+9 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/crx_installer.cc
|
View
|
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/extension_action_context_menu_model.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/extension_action_context_menu_model.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_browsertest.cc
|
View
|
10
11
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_context_menu_model.h
|
View
|
6
7
8
9
10
11
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_context_menu_model.cc
|
View
|
6
7
8
9
10
11
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_disabled_infobar_delegate.cc
|
View
|
3
4
5
6
7
8
9
10
11
|
3 chunks |
+6 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_dom_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_install_ui.h
|
View
|
3
4
5
6
7
8
9
10
11
|
5 chunks |
+26 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_install_ui.cc
|
View
|
3
4
5
6
7
8
9
10
11
|
7 chunks |
+76 lines, -44 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extensions_ui.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extensions_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/image_loading_tracker.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+36 lines, -45 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/image_loading_tracker.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+84 lines, -61 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/browser_actions_toolbar_gtk.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/location_bar_view_gtk.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/location_bar_view_gtk.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+8 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/browser_actions_container.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/browser_actions_container.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
6 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/infobars/extension_infobar.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/infobars/extension_infobar.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+40 lines, -36 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/location_bar_view.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/location_bar_view.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+8 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension.h
|
View
|
3
4
5
6
7
8
9
10
11
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_resource.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_resource.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|