Bug 113868

Summary: Cross fade into restarted plugin
Product: WebKit Reporter: Dean Jackson <dino>
Component: Plug-insAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, esprehn+autocc, ojan.autocc, simon.fraser, thorton, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

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>