diff options
author | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 03:06:26 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 03:06:26 +0000 |
commit | 0fb7f983997760be537218e91f61a2a14fbdf648 (patch) | |
tree | 098755398a303b0cc58f3bfee54d2b3bac087e03 /content/common/view_messages.h | |
parent | e13c14645c5e2777d15c586483d7f29255f260fa (diff) | |
download | chromium_src-0fb7f983997760be537218e91f61a2a14fbdf648.zip chromium_src-0fb7f983997760be537218e91f61a2a14fbdf648.tar.gz chromium_src-0fb7f983997760be537218e91f61a2a14fbdf648.tar.bz2 |
Removed support for Core Animation plugins when accelerated compositing is disabled. CA plugins have been rendered through Chrome's compositor for several releases now and it has not been found necessary to revert back to the older behavior.
If the compositor is disabled, then support for the Core Animation and Invalidating Core Animation drawing models is no longer advertised.
Tested with the Unity and NPAPI Flash plugins. As expected, Unity no longer renders with the compositor disabled; NPAPI Flash falls back to the Core Graphics drawing model. (Pepper Flash is not affected; it happens to require the compositor before and after this change.)
BUG=105344
Review URL: https://chromiumcodereview.appspot.com/12641008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188928 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/view_messages.h')
-rw-r--r-- | content/common/view_messages.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 0b2a13a..4b5bb76 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -2361,58 +2361,6 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, // Instructs the browser to start plugin IME. IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) -//--------------------------------------------------------------------------- -// Messages related to accelerated plugins - -// This is sent from the renderer to the browser to allocate a fake -// PluginWindowHandle on the browser side which is used to identify -// the plugin to the browser later when backing store is allocated -// or reallocated. |opaque| indicates whether the plugin's output is -// considered to be opaque, as opposed to translucent. This message -// is reused for rendering the accelerated compositor's output. -// |root| indicates whether the output is supposed to cover the -// entire window. -IPC_SYNC_MESSAGE_ROUTED2_1(ViewHostMsg_AllocateFakePluginWindowHandle, - bool /* opaque */, - bool /* root */, - gfx::PluginWindowHandle /* id */) - -// Destroys a fake window handle previously allocated using -// AllocateFakePluginWindowHandle. -IPC_MESSAGE_ROUTED1(ViewHostMsg_DestroyFakePluginWindowHandle, - gfx::PluginWindowHandle /* id */) - -// This message, used on Mac OS X 10.5 and earlier (no IOSurface support), -// is sent from the renderer to the browser on behalf of the plug-in -// to indicate that a new backing store was allocated for that plug-in -// instance. -IPC_MESSAGE_ROUTED4(ViewHostMsg_AcceleratedSurfaceSetTransportDIB, - gfx::PluginWindowHandle /* window */, - int32 /* width */, - int32 /* height */, - TransportDIB::Handle /* handle for the DIB */) - -// This message, used on Mac OS X 10.6 and later (where IOSurface is -// supported), is sent from the renderer to the browser on behalf of the -// plug-in to indicate that a new backing store was allocated for that -// plug-in instance. -// -// NOTE: the original intent was to pass a mach port as the IOSurface -// identifier but it looks like that will be a lot of work. For now we pass an -// ID from IOSurfaceGetID. -IPC_MESSAGE_ROUTED4(ViewHostMsg_AcceleratedSurfaceSetIOSurface, - gfx::PluginWindowHandle /* window */, - int32 /* width */, - int32 /* height */, - uint64 /* surface_id */) - -// This message notifies the browser process that the plug-in -// swapped the buffers associated with the given "window", which -// should cause the browser to redraw the various plug-ins' -// contents. -IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped, - gfx::PluginWindowHandle /* window */, - uint64 /* surface_handle */) #elif defined(OS_WIN) // Request that the given font characters be loaded by the browser so it's // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |