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

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