Bug 113868 - Cross fade into restarted plugin
Summary: Cross fade into restarted plugin
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dean Jackson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-04-03 05:04 PDT by Dean Jackson
Modified: 2013-04-03 13:16 PDT (History)
6 users (show)

See Also:


Attachments
Patch (15.88 KB, patch)
2013-04-03 05:33 PDT, Dean Jackson
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2013-04-03 05:04:20 PDT
When a snapshotted plugin gets restarted, there is an abrupt swap as the snapshot disappears and the plugin loads. Replace this with a cross-fade.

I'll implement the WebCore part to detect a restarted plugin, and have the RenderEmbeddedObject draw the snapshot for a while as the plugin appears, but the main crossfade will be done in Apple-specific code. Other platforms will just have to do whatever it takes to animate the opacity of their plugins.


<rdar://problem/13478573>
Comment 1 Dean Jackson 2013-04-03 05:33:01 PDT
Created attachment 196333 [details]
Patch
Comment 2 Dean Jackson 2013-04-03 13:16:37 PDT
Committed r147579: <http://trac.webkit.org/changeset/147579>