This adds onShown & onHidden to base Panel class (hence this becomes available for native panels we expose, as well as to the extension once -- we need the former for sidebars).
Created attachment 88056 [details] patch
Manually committed r82832: http://trac.webkit.org/changeset/82832