Bug 1498755 - Part 7: Tweak a few things in ServoBindingTypes.h r=emilio

Depends on D8648

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Cameron McCormack 2018-10-14 00:05:59 +00:00
Родитель f804c8ca6b
Коммит bfe5c432f4
4 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -112,6 +112,7 @@ class nsIVariant;
class nsViewManager;
class nsPresContext;
class nsRange;
class nsSimpleContentList;
class nsSMILAnimationController;
class nsSVGElement;
class nsTextNode;

Просмотреть файл

@ -21,7 +21,6 @@ struct RawServoStyleSet;
struct RawServoSelectorList;
struct RawServoSourceSizeList;
struct RawServoAnimationValueMap;
struct RustString;
struct StyleUseCounters;
#define SERVO_ARC_TYPE(name_, type_) struct type_;
@ -42,12 +41,8 @@ struct ComputedTiming;
struct Keyframe;
struct PropertyValuePair;
struct PropertyStyleAnimationValuePair;
enum class OriginFlags : uint8_t;
using ComputedKeyframeValues = nsTArray<PropertyStyleAnimationValuePair>;
} // namespace mozilla
namespace nsStyleTransformMatrix {
enum class MatrixTransformOperator: uint8_t;
}
class nsCSSPropertyIDSet;
class nsCSSValue;
@ -55,7 +50,6 @@ struct nsFontFaceRuleContainer;
class nsIDocument;
class nsINode;
class nsPresContext;
class nsSimpleContentList;
struct nsTimingFunction;
class nsXBLBinding;

Просмотреть файл

@ -30,6 +30,7 @@ namespace mozilla {
class SharedFontList;
class StyleSheet;
enum class CSSPseudoElementType : uint8_t;
enum class OriginFlags : uint8_t;
struct Keyframe;
namespace css {
@ -45,6 +46,10 @@ namespace mozilla {
}
}
namespace nsStyleTransformMatrix {
enum class MatrixTransformOperator: uint8_t;
}
extern "C" {
// Element data

Просмотреть файл

@ -31,6 +31,7 @@ namespace mozilla {
class ServoCSSRuleList;
class ServoStyleSet;
enum class OriginFlags : uint8_t;
typedef MozPromise</* Dummy */ bool,
/* Dummy */ bool,
@ -146,7 +147,7 @@ public:
ServoCSSRuleList* GetCssRulesInternal();
// Returns the stylesheet's Servo origin as an OriginFlags value.
OriginFlags GetOrigin();
mozilla::OriginFlags GetOrigin();
/**
* The different changes that a stylesheet may go through.