Closed
Bug 973087
Opened 10 years ago
Closed 10 years ago
nsSimplePageSequence.* should have "Frame" suffix, to match the name of the class it actually defines
Categories
(Core :: Layout, enhancement, P4)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: dholbert, Assigned: Six)
Details
Attachments
(1 file)
4.41 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Right now, nearly every frame class is defined in its own .h/.cpp file (sometimes just the .cpp file), and as a rule, the file has the same name as the frame class. One notable exception, however, is nsSimplePageSequenceFrame; it's in nsSimplePageSequence.h/.cpp (no "Frame" in the filename). This is inconsistent and unnecessary. We should add "Frame" to make it consistent (and to make it clear that this file defines a frame class). (noticed while chatting with :Six about bug 919806)
Reporter | ||
Updated•10 years ago
|
Summary: nsSimplePageSequence.* should have "Frame" suffix → nsSimplePageSequence.* should have "Frame" suffix, to match the name of the class it actually defines
Comment 1•10 years ago
|
||
nsSimplePageSequenceFrame is such a silly name, can we rename it as well? At least drop the "Simple".
Updated•10 years ago
|
Severity: normal → enhancement
OS: Linux → All
Hardware: x86_64 → All
Reporter | ||
Comment 2•10 years ago
|
||
That'd be a substantially larger patch; it'd involves renaming all usages of the class name, and could potentially need some reindentation, etc. I believe :six already has a patch prepared to do *just* the file-rename, making the filename consistent with the (existing) class-name. I think that's worth taking on its own, as one atomic change. From there, we can do further renaming (of the newly-consistently-named file & class simultaneously), if you like.
Assignee: nobody → six.dsn
Assignee | ||
Comment 3•10 years ago
|
||
Build is green: https://tbpl.mozilla.org/?tree=Try&rev=edcc93791f20 moves nsSimplePageSequence[.h|.cpp] to nsSimplePageSequenceFrame[.h|.cpp] changes all references to nsSimplePageSequence
Attachment #8376741 -
Flags: review?(roc)
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Attachment #8376741 -
Flags: review?(roc) → review+
Reporter | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3a3f154feea8
Flags: in-testsuite-
Reporter | ||
Updated•10 years ago
|
Priority: -- → P4
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3a3f154feea8
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•