diff options
author | kbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-15 00:58:03 +0000 |
---|---|---|
committer | kbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-15 00:58:03 +0000 |
commit | ea04a4e187e030cbc340710285e574f66cc563ac (patch) | |
tree | 1331efa8aed5b5cfdbf384c6a5bee6d3885b10b2 /chrome/plugin/webplugin_proxy.h | |
parent | 47e119f0e2aa67b9129fee70cad09e32cb8bd7de (diff) | |
download | chromium_src-ea04a4e187e030cbc340710285e574f66cc563ac.zip chromium_src-ea04a4e187e030cbc340710285e574f66cc563ac.tar.gz chromium_src-ea04a4e187e030cbc340710285e574f66cc563ac.tar.bz2 |
Made Pepper 3D plugins' output opaque on Mac OS X by filling the
plugin region's alpha channel with 1.0 and then overwriting just the
color channels. Core Animation plugins, though they currently always
overlay HTML output, remain translucent.
BUG=41424
TEST=ran Pepper 3D sample and verified its background is opaque
Review URL: http://codereview.chromium.org/1547034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_proxy.h')
-rw-r--r-- | chrome/plugin/webplugin_proxy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h index f03de96..b7800e3 100644 --- a/chrome/plugin/webplugin_proxy.h +++ b/chrome/plugin/webplugin_proxy.h @@ -134,7 +134,7 @@ class WebPluginProxy : public webkit_glue::WebPlugin { gfx::NativeViewId containing_window() { return containing_window_; } #if defined(OS_MACOSX) - virtual void BindFakePluginWindowHandle(); + virtual void BindFakePluginWindowHandle(bool opaque); virtual void AcceleratedFrameBuffersDidSwap(gfx::PluginWindowHandle window); virtual void SetAcceleratedSurface(gfx::PluginWindowHandle window, int32 width, |