Bug 1071510 - [NFC/sharing] Use shirinking* events to handle screenshot in AppWindow, r=alive

https://bugzilla.mozilla.org/show_bug.cgi?id=1071510