Boris Zbarsky
1ff99d888e
Bug 1387143 part 20. Remove nsISelectionPrivate. r=mats
2018-05-08 13:52:38 -04:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Emilio Cobos Álvarez
bf64474d79
Bug 1457920: Remove StyleSheet::AsServo. r=xidorn
...
MozReview-Commit-ID: IkkJvUFHykk
2018-05-02 04:13:21 +02:00
Emilio Cobos Álvarez
83fd987aec
Bug 1454233: Remove nsINode::eDOCUMENT. r=bz
...
MozReview-Commit-ID: ItjdI79zme7
2018-04-20 01:30:11 +02:00
Xidorn Quan
4cf9aed667
Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio
...
This patch basically does:
* remove StyleSetHandle and its corresponding files
* revisit #includes of related header files and change correspondingly
* change nsIPresShell::mStyleSet to be UniquePtr<ServoStyleSet>
* change the creating path of ServoStyleSet to pass UniquePtr
* change other mentions of StyleSetHandle to ServoStyleSet*
* remove AsServo() calls on ServoStyleSet
Some unfortunate bits:
* some methods of (Servo)StyleSet only accepts ServoStyleSheet while
many places call into the methods with StyleSheet, so there are many
->AsServo() added to sheets
MozReview-Commit-ID: K4zYnuhOurA
--HG--
extra : rebase_source : 459e8efeb171adad089d94272e143e8c244bd279
extra : source : 65ba2f174fcf7dba4e59c00ee8908b1bd0820a48
2018-03-29 22:15:46 +11:00
Xidorn Quan
d81392eca1
Bug 1447828 part 6 - Have only a single nsLayoutStylesheetCache instance. r=emilio
...
MozReview-Commit-ID: BjCgc8MZjIq
--HG--
extra : rebase_source : 104140c2eed5987b5568aca89a72bc7d5e3ed839
extra : source : cd66e264953865b0604054fb9d0b741d0ae19ebf
2018-03-29 02:34:34 +11:00
Boris Zbarsky
df07d2d834
Bug 1447890 part 5. Remove nsISelection::RemoveAllRanges. r=mystor
...
MozReview-Commit-ID: EeMje9KW6An
2018-03-27 00:35:23 -04:00
Boris Zbarsky
54d1f87ff4
Bug 1447890 part 1. Remove nsISelection::AddRange. r=mystor
...
MozReview-Commit-ID: 1JNLZp7tbII
2018-03-27 00:35:22 -04:00
Boris Zbarsky
a8a190f4e1
Bug 1447889 part 14. Remove mention of nsIDOMRange from layout/. r=mystor
...
MozReview-Commit-ID: JWJWGzY45ac
2018-03-27 00:35:22 -04:00
Boris Zbarsky
37b111ac2a
Bug 1447472 part 2. Remove nsIDOMCustomEvent. r=qdot
...
MozReview-Commit-ID: 3NPqLIU8cka
2018-03-26 14:53:51 -04:00
Boris Zbarsky
29d232e53f
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Boris Zbarsky
5475554b91
Bug 1446533
part 7. Remove nsIDOMCharacterData::InsertData. r=mystor
...
MozReview-Commit-ID: 48XZ2J9ewHP
2018-03-19 15:38:04 -04:00
Emilio Cobos Álvarez
043503a6d4
Bug 1024082: Remove most of the nsIPresShell::FrameManager calls. r=dholbert
...
Most of them just want GetRootFrame(), and there's no need to explicitly go
through the frame manager for that, we have a handy alias in the shell.
MozReview-Commit-ID: GriEqkasidY
2018-03-07 10:17:49 +01:00
Jonathan Watt
88c85e4536
Bug 499025 - Don't open an error pop-up if the user cancels printing. r=bobowen
...
This fixes PrintTargetWindows::BeginPrinting to detect when the
user cancels and have it return NS_ERROR_ABORT in that case.
The rest of the changes are simply making sure that the various
call points up the call stack don't print a warning message if
NS_ERROR_ABORT is returned up from
PrintTargetWindows::BeginPrinting.
MozReview-Commit-ID: 6xZ5SPje6TT
2018-02-06 20:14:47 +00:00
Bob Owen
2c3ffe3ac4
Bug 1441598: Don't try and send messages to PrintProgressDialogChild when printing is complete. r=jwatt
2018-03-05 08:22:14 +00:00
Ben Kelly
75bf35692e
Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor
2018-02-22 14:28:39 -08:00
Emilio Cobos Álvarez
432d45b460
Bug 1439027: Simplify PresShell::Initialize. r=bz
...
Most of the callers pass the already-existing pres-context visible area. The few
that don't can set it themselves.
MozReview-Commit-ID: KRi4ShrgOrE
2018-02-21 12:42:17 +01:00
Boris Zbarsky
f0d195b828
Bug 1434318 part 10. Remove nsIDOMDocument's title attribute. r=mystor
...
MozReview-Commit-ID: IBToVxx4bSs
2018-01-31 15:18:10 -05:00
Boris Zbarsky
c62e23596a
Bug 1434318 part 2. Stop using nsIContentViewer::GetDOMDocument in C++. r=mystor
...
MozReview-Commit-ID: FoMoVgCngGR
2018-01-31 15:18:09 -05:00
Andrea Marchesini
b8bb98af8c
Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb
2018-01-23 14:30:18 +01:00
Jonathan Watt
d80eff51f9
Bug 1430619 part 3 - Remove nsIContentViewerContainer. r=smaug
...
MozReview-Commit-ID: BxpgH0DPKQw
2018-01-11 12:27:00 +00:00
L. David Baron
95ceb13927
Bug 1429645 - Make EXTENDED_DEBUG_PRINTING compile again. r=jwatt
...
MozReview-Commit-ID: B0JIbPpl8LW
--HG--
extra : transplant_source : %2B%9C%AD%87%F8%E5%86%F8%89fg%C6%8C%E1%9B_%ED%F2%A3%89
2018-01-11 15:58:07 -08:00
Jonathan Watt
5f2f637eed
Bug 1425641, part 2 - Remove lots of static methods from the nsPrintJob interface. r=bobowen
...
MozReview-Commit-ID: tuhMTI2Lv8
2017-12-06 12:47:19 +00:00
Jonathan Watt
2bd2161291
Bug 1425641, part 1 - Collect nsPrintJob members and remove some unneeded methods. r=bobowen
...
MozReview-Commit-ID: 8Z64aE5f61j
2017-12-06 10:12:44 +00:00
Andrea Marchesini
00e79ef07b
Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
...
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00
Ciure Andrei
7c67b86074
Backed out 4 changesets (bug 1425641) for failing bc tests toolkit/components/printing/tests/browser_page_change_print_original.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 05966b36d7d6 (bug 1425641)
Backed out changeset 8a2305426cf2 (bug 1425641)
Backed out changeset c739bef415f1 (bug 1425641)
Backed out changeset 8339ddfe0a54 (bug 1425641)
2017-12-25 05:07:43 +02:00
Jonathan Watt
4ba31c1984
Bug 1425641, part 3 - Remove lots of static methods from the nsPrintJob interface. r=bobowen
...
MozReview-Commit-ID: 6T3h7hR6Kcg
--HG--
extra : rebase_source : ba29d0f4b15c575ccfceee6caf084b43cf59f124
2017-12-06 12:47:19 +00:00
Jonathan Watt
1d609cb1b5
Bug 1425641, part 2 - Remove nsPrintJob::mOldPrtPreview. r=bobowen
...
MozReview-Commit-ID: Bu4SheVyDGD
--HG--
extra : rebase_source : 01fb811441d3703b992a1a9c2e21431e0491fd76
2017-12-06 10:49:22 +00:00
Jonathan Watt
46335998ec
Bug 1425641, part 1 - Collect nsPrintJob members and remove some unneeded methods. r=bobowen
...
MozReview-Commit-ID: 8Z64aE5f61j
--HG--
extra : rebase_source : acaaaafaecf961160244a67e028adbe4bddf0e5b
2017-12-06 10:12:44 +00:00
Jonathan Watt
f239219d4f
Bug 1425178
- Rename nsPrintEngine to nsPrintJob. r=bobowen
...
MozReview-Commit-ID: 2HCNmeOLPd3
--HG--
rename : layout/printing/nsPrintEngine.cpp => layout/printing/nsPrintJob.cpp
rename : layout/printing/nsPrintEngine.h => layout/printing/nsPrintJob.h
2017-12-04 11:44:17 -06:00