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

Unified Diff: webkit/plugins/npapi/plugin_instance.h

Issue 12487003: Fix painting glitch with text and NPAPI plugins. This was a regression from r167042. The problem wa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix silverlight Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.cc ('k') | webkit/plugins/npapi/plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_instance.h
===================================================================
--- webkit/plugins/npapi/plugin_instance.h (revision 186240)
+++ webkit/plugins/npapi/plugin_instance.h (working copy)
@@ -85,10 +85,11 @@
bool windowless() { return windowless_; }
void set_windowless(bool value) { windowless_ = value; }
- // Get/Set whether this instance is transparent.
- // This only applies to windowless plugins. Transparent
- // plugins require that webkit paint the background.
- // Default is true.
+ // Get/Set whether this instance is transparent. This only applies to
+ // windowless plugins. Transparent plugins require that webkit paint the
+ // background.
+ // Default is true for all plugins other than Flash. For Flash, we default to
+ // opaque since it always tells us if it's transparent during NPP_New.
bool transparent() { return transparent_; }
void set_transparent(bool value) { transparent_ = value; }
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.cc ('k') | webkit/plugins/npapi/plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698