Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan ea2d289c2c Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
MozReview-Commit-ID: 5AXhsuvvrwe

--HG--
extra : source : 218d4c72938f74f16af22239a99fbdf0e4c621cf
2016-10-14 22:25:38 +11:00
Xidorn Quan 2169694adb Bug 1292432 part 7 - Move other WebIDL methods to StyleSheet. r=heycam
MozReview-Commit-ID: J0tXKbZvcEq

--HG--
extra : source : c9cdb1228b36ffe102aad302f3c030c744c8fe26
2016-10-14 22:25:38 +11:00
Xidorn Quan 03f63ec3b1 Bug 1292432 part 3 - Add WillDirty and DidDirty to StyleSheet. r=heycam
MozReview-Commit-ID: 17O1vYVxuCk

--HG--
extra : source : ea6b9576cccfce1bade7353f00ac668385a2af05
2016-10-14 22:25:38 +11:00
Xidorn Quan 00a9e2d481 Bug 1309202 - Factor out stylo branch dispatch utilities. r=heycam
MozReview-Commit-ID: 8fLL9nsJDj4

--HG--
extra : source : fac14e4446a32e6e225e4b405a574225a990b510
extra : amend_source : 2de6d4b5295ff46b4a8f84d4ca43c2ef9ca3680e
2016-10-13 23:45:03 +11:00
Xidorn Quan 0d19e3e8e0 Bug 1306212 part 1 - Make StyleSheetInfo a member of ServoStyleSheet. r=heycam
MozReview-Commit-ID: 1gAu507RLfE

--HG--
extra : rebase_source : 2fd5621845c42ab98056bb04f51b0b216b4bfe79
2016-09-29 16:11:52 +10:00
Xidorn Quan 1da4aa60e1 Bug 1304302 part 11 - Remove StyleSheetHandle as well as other places reference it. r=heycam
MozReview-Commit-ID: FfYZiShjJNX

--HG--
extra : source : b75ca959d5bc0128e643a58126693b4cc704e09b
2016-09-26 22:03:25 +10:00
Xidorn Quan 4be4e1b982 Bug 1304302 part 9 - Make StyleSheet::SheetInfo inline. r=heycam
MozReview-Commit-ID: 9ZvnIBw6emI

--HG--
extra : source : d702a97c0e89cd948911307f7f6b131d64985177
2016-09-26 22:03:25 +10:00
Xidorn Quan 1b72d4bbf6 Bug 1304302 part 6 - Add cycle collecting support to pointer of StyleSheet. r=smaug
This is mostly copied from StyleSheetHandle which is being removed in
later patches. This is a temporary workaround to keep things working.
It should be removed soon when StyleSheet itself becomes a subclass
of nsISupports (which is expected to happen in bug 1292432).

MozReview-Commit-ID: Gqv0eRZgja5

--HG--
extra : source : 5d029c90a2e9187720bb21ef8329722a8fa3cae5
2016-09-26 22:03:25 +10:00
Xidorn Quan 708aff235a Bug 1304302 part 5 - Make StyleSheet::As{Gecko,Servo} return pointer instead of reference. r=heycam
To match the behavior of StyleSheetHandle so that we can simply replace
uses of StyleSheetHandle with StyleSheet* in later patch.

MozReview-Commit-ID: LfGKrUmzC4h

--HG--
extra : source : bffc3be53b1c1142b3ab297a78fc6e7934719d2c
2016-09-26 22:03:25 +10:00
Xidorn Quan 4d65721d59 Bug 1304302 part 4 - Add all methods StyleSheetHandle needs to StyleSheet. r=heycam
The methods are written in the same order as in StyleSheetHandle::Ptr.

MozReview-Commit-ID: 6b4311ailNj

--HG--
extra : source : 9cea4a56fc487dd21a8739d4d9be8f01d5fdc93c
2016-09-26 22:03:25 +10:00
Xidorn Quan e8488364fe Bug 1304302 part 1 - Add const version of AsGecko/AsServo to StyleSheet. r=heycam
MozReview-Commit-ID: LGQQjmkTWsO

--HG--
extra : source : 337342b3376bdaff444ed1c3887d8eee80cfa9ee
2016-09-26 22:03:25 +10:00
Bobby Holley abd6123240 Bug 1252611 - Hoist IsComplete/SetComplete into StyleSheet. r=dholbert 2016-03-10 22:18:59 -08:00
Bobby Holley 0ff743226a Bug 1252611 - Add a method to get the StyleSheetInfo for a given StyleSheet. r=dholbert
One of the annoying things about sharing algorithms on the superclass here is that
certain members live on StyleSheet and others live on StyleSheetInfo (a situation
resulting from the split between CSSStyleSheet and CSSStyleSheetInner). This allows
us to write general algorithms on StyleSheet that touch members on StyleSheetInfo
without paying the price of virtual dispatch.
2016-03-10 22:18:57 -08:00