gecko-dev/layout/printing
Gerald Squelart b099eab802 Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron
All classes deriving from nsIFrame that did not have any subclasses themselves
(at the time of writing this patch) have been marked with `final`.
Some other Layout classes have also been made final, but this was opportunistic
while working on nsIFrame subclasses, and is definitely not exhaustive, further
patches welcome; refer to bug 1332680.

Advantages of marking a class final include:
- Allowing the compiler to devirtualize some method calls (i.e., calling
  virtual functions directly instead of going through the vtable),
- Indicating that the class is not currently subclassed,
- Preventing subclassing without being aware that this would remove the
  finalization benefits of the parent class.
`final` does not signify that these classes should *never* be subclassed, this
is left for developers to decide.

Differential Revision: https://phabricator.services.mozilla.com/D5020

--HG--
extra : moz-landing-system : lando
2018-09-06 01:23:14 +00:00
..
crashtests Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
ipc Bug 499025 - Don't open an error pop-up if the user cancels printing. r=bobowen 2018-02-06 20:14:47 +00:00
DrawEventRecorder.cpp Bug 1431475: Make assertions guarding opening and closing print recording file streams MOZ_DIAGNOSTIC_ASSERTs. r=jwatt 2018-01-22 17:54:53 +00:00
DrawEventRecorder.h Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron 2018-09-06 01:23:14 +00:00
PrintTranslator.cpp Bug 1319423 - Part 2 - Switch away from std::ifstream to PRFileDesc in PrintTranslator; r=jrmuizel 2017-10-03 13:23:57 -04:00
PrintTranslator.h Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
moz.build Bug 1432203 - Remove nsIPrintStatusFeedback. r=bobowen 2018-01-15 11:42:15 +00:00
nsIPrintProgress.idl
nsIPrintProgressParams.idl Bug 1410288 - Change nsIPrintProgressParams' attributes from wstring to AString. r=bobowen. 2017-10-19 11:32:37 +11:00
nsPagePrintTimer.cpp Bug 1430682 - Use OwningNonNull for nsPagePrintTimer::mDocViewerPrint and remove null checks. r=bobowen 2018-01-09 22:21:53 +00:00
nsPagePrintTimer.h Bug 1430682 - Use OwningNonNull for nsPagePrintTimer::mDocViewerPrint and remove null checks. r=bobowen 2018-01-09 22:21:53 +00:00
nsPrintData.cpp Bug 1430683 - Remove nsPrintData::mOrigDCScale. r=bobowen 2018-01-08 11:43:16 +00:00
nsPrintData.h Bug 1430683 - Remove nsPrintData::mOrigDCScale. r=bobowen 2018-01-08 11:43:16 +00:00
nsPrintJob.cpp Bug 1486690 - Remove unnecessary checks after moz_xmalloc() calls. r=glandium 2018-08-28 15:56:01 +10:00
nsPrintJob.h Bug 1460940 - Remove nsIDOMDocument uses in layout/. r=bz 2018-05-11 19:46:15 +02:00
nsPrintObject.cpp Bug 1453795 - Layout - Initialize member fields in classes/ structures. r=dbaron 2018-07-12 09:42:14 +03:00
nsPrintObject.h Bug 1460940 - Remove nsIDOMDocument uses in layout/. r=bz 2018-05-11 19:46:15 +02:00
nsPrintPreviewListener.cpp Bug 1455674 part 14. Remove use of nsIDOMElement in layout. r=qdot 2018-04-26 23:37:33 -04:00
nsPrintPreviewListener.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00