|
Fix painting problem with transparent plugins because plugins were ignoring the alpha channel sometimes.
This change introduces another buffer which holds the background image for transparent plugins. Before
painting these plugins, their backing store is overwritten with the background data.
This change also uses an ACK from the renderer to figure out when it can paint, similar to how the
renderer does it, which gives us throttling and also doesn't lead to painting when the tab is hidden.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2744
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+343 lines, -303 lines) |
Patch |
 |
M |
base/scoped_handle.h
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/plugin_messages_internal.h
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/plugin/webplugin_delegate_stub.h
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/plugin/webplugin_delegate_stub.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/plugin/webplugin_proxy.h
|
View
|
1
2
3
4
5
|
4 chunks |
+27 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/plugin/webplugin_proxy.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+68 lines, -47 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/webplugin_delegate_proxy.h
|
View
|
1
2
3
4
5
|
4 chunks |
+29 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/webplugin_delegate_proxy.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+145 lines, -66 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/plugin_host.h
|
View
|
4
5
|
2 chunks |
+0 lines, -22 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/plugin_host.cc
|
View
|
4
5
|
5 chunks |
+35 lines, -121 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/plugin_instance.h
|
View
|
4
5
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/plugin_instance.cc
|
View
|
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/webplugin_delegate_impl.h
|
View
|
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/webplugin_delegate_impl.cc
|
View
|
4
5
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webplugin_delegate.h
|
View
|
5
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|