mozilla-b2g/gaia — pull request #2890 by cpearce (2012-07-27 02:19:31+00:00)
Title: UI changes required to approve fullscreen requests

This changeset adds the approval UI for the fullscreen API which is being implemented in [Mozilla bug 684620](https://bugzilla.mozilla.org/show_bug.cgi?id=684620).

When a document enters fullscreen, a mozChromeEvent is dispatched to the parent process' document with the origin of the document which is fullscreen. We then show the approval UI to ensure the user is aware of what origin is fullscreen so that they are less likely to fall victim to spoofing/phishing attacks.