Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Issue 5040: Fix painting problem with transparent plugins because plugins were ignoring t... (Closed)

Created:
12 years, 2 months ago by jam
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

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

Messages

Total messages: 4 (0 generated)
jam
Note I still can't track the cause of the painting issue when scrolling on WoW. ...
12 years, 2 months ago (2008-09-30 07:54:23 UTC) #1
darin (slow to review)
LGTM http://codereview.chromium.org/5040/diff/409/639 File chrome/common/plugin_messages_internal.h (right): http://codereview.chromium.org/5040/diff/409/639#newcode106 Line 106: IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_Paint, nit: For extra clarity at places ...
12 years, 2 months ago (2008-09-30 23:46:02 UTC) #2
jam
http://codereview.chromium.org/5040/diff/409/639 File chrome/common/plugin_messages_internal.h (right): http://codereview.chromium.org/5040/diff/409/639#newcode106 Line 106: IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_Paint, On 2008/09/30 23:46:03, Darin Fisher (Google) wrote: ...
12 years, 2 months ago (2008-10-01 00:04:56 UTC) #3
darin (slow to review)
12 years, 2 months ago (2008-10-01 00:30:57 UTC) #4
OK, LGTM

Powered by Google App Engine
This is Rietveld 408576698