summaryrefslogtreecommitdiffstats
path: root/chrome/common/plugin_messages_internal.h
diff options
context:
space:
mode:
authorkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-15 00:58:03 +0000
committerkbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-15 00:58:03 +0000
commitea04a4e187e030cbc340710285e574f66cc563ac (patch)
tree1331efa8aed5b5cfdbf384c6a5bee6d3885b10b2 /chrome/common/plugin_messages_internal.h
parent47e119f0e2aa67b9129fee70cad09e32cb8bd7de (diff)
downloadchromium_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/common/plugin_messages_internal.h')
-rw-r--r--chrome/common/plugin_messages_internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/plugin_messages_internal.h b/chrome/common/plugin_messages_internal.h
index 4812d87..87a7e48 100644
--- a/chrome/common/plugin_messages_internal.h
+++ b/chrome/common/plugin_messages_internal.h
@@ -424,8 +424,10 @@ IPC_BEGIN_MESSAGES(PluginHost)
// Synthesize a fake window handle for the plug-in to identify the instance
// to the browser, allowing mapping to a surface for hardware accelleration
// of plug-in content. The browser generates the handle which is then set on
- // the plug-in.
- IPC_MESSAGE_ROUTED0(PluginHostMsg_BindFakePluginWindowHandle)
+ // the plug-in. |opaque| indicates whether the content should be treated as
+ // opaque.
+ IPC_MESSAGE_ROUTED1(PluginHostMsg_BindFakePluginWindowHandle,
+ bool /* opaque */)
// This message, used only on 10.6 and later, is sent from the plug-in process
// to the renderer process to indicate that the plugin allocated a new