1,295
edits
Line 167: | Line 167: | ||
* Each FullScreenCanceled event clears the current fullscreen request for that <browser>. If that <browser> is the active tab, exit fullscreen mode. | * Each FullScreenCanceled event clears the current fullscreen request for that <browser>. If that <browser> is the active tab, exit fullscreen mode. | ||
* Whenever a request is approved (it might be approved instantly), call SetFullScreen on the chrome window to make everything fullscreen. | * Whenever a request is approved (it might be approved instantly), call SetFullScreen on the chrome window to make everything fullscreen. | ||
== Plan == | |||
* Part 1: Implement fullscreen window state, content events and styling | |||
** Basic fullscreen stuff should work if the user manually enters fullscreen | |||
* Part 2: Implement request APIs and dispatching of chrome events | |||
* Part 3: Implement key disabling | |||
* Part 4: Implement extended nsGlobalWindow API to enter fullscreen mode with optional key disabling | |||
* Part 5: Hook up chrome events to prototype browser UI and trigger fullscreen |
edits