Extract nsIScrollableFrame::ScrollMode into its own file
Categories
(Core :: Layout: Scrolling and Overflow, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: botond, Assigned: botond)
References
Details
Attachments
(3 files)
As suggested in this review comment, we should extract nsIScrollableFrame::ScrollMode
into its own file, and use it in nsIPresShell.h
instead of defining a separate enumeration there.
Comment 1•6 years ago
|
||
(Also it doesn't necessarily need to go into its own file, it could go into some other file that can be included into all the other places it needs to be used)
Assignee | ||
Comment 2•6 years ago
|
||
This allows this enumeration to be used from nsIPresShell.h without introducing
a circular dependency.
Its new home in layout/base/ScrollTypes.h, included as mozilla/ScrollTypes.h.
Others similar enums can be added to that file if desired.
This patch also makes ScrollMode an enum class (as it's no longer nested
inside a class) and switches its enumerators to the |eName| naming convention.
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D24796
Assignee | ||
Comment 4•6 years ago
|
||
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/be9d79b76e1c
https://hg.mozilla.org/mozilla-central/rev/57847959cfa6
https://hg.mozilla.org/mozilla-central/rev/5840b7d8521a
Description
•