Open Bug 1448283 Opened 8 years ago Updated 3 years ago

Have nsIWidget::Resize / Move accept typed types

Categories

(Core :: Widget, enhancement)

enhancement

Tracking

()

Tracking Status
firefox61 --- affected

People

(Reporter: xidorn, Unassigned)

Details

Currently nsIWidget's Resize and Move accepts plain doubles, and their meaning depends on the window type[1]. It would be much easier to reason about if they just accept typed types for their parameters, e.g. LayoutDeviceSize, LayoutDeviceRect, LayoutDevicePoint. [1] https://searchfox.org/mozilla-central/rev/de5c4376b89c3603341d226a65acea12f8851ec5/widget/nsBaseWidget.h#225-234
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.