Closed Bug 1181413 Opened 10 years ago Closed 10 years ago

Use enum on parameter of nsGlobalWindow::SetFullScreenInternal() to distinguish between Fullscreen Mode and Fullscreen API

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: xidorn, Assigned: xidorn)

References

Details

Attachments

(1 file)

We currently use `bool aFullscreenMode` parameter to distinguish between toggling window fullscreen state for Fullscreen Mode and for Fullscreen API. It is confusing. We should use enum instead.
Attached patch patchSplinter Review
Attachment #8630846 - Flags: review?(bugs)
Attachment #8630846 - Flags: review?(bugs) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: