зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1437723: Preemptively fix unified bustage in layout/style by adding missing includes/namespaces/forward-decls. r=emilio
MozReview-Commit-ID: 8ljZkAqgT4N --HG-- extra : rebase_source : bea400511aa6c6c10e76c8418d6dfc8df2b31d17
This commit is contained in:
Родитель
df4b3ddfcf
Коммит
10b8b4cdb3
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "mozilla/css/Rule.h"
|
||||
|
||||
class nsICSSDeclaration;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "mozilla/dom/CSSMozDocumentRule.h"
|
||||
#include "mozilla/dom/CSSMozDocumentRuleBinding.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
|
|
@ -4,9 +4,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsIMemoryReporter.h"
|
||||
#include "mozilla/CachedInheritingStyles.h"
|
||||
|
||||
#include "mozilla/ServoStyleContext.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIMemoryReporter.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#define mozilla_CachedInheritingStyles_h
|
||||
|
||||
#include "nsAtom.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsTArray.h"
|
||||
|
||||
class nsWindowSizes;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
class nsIContent;
|
||||
class nsIDocument;
|
||||
class nsINode;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "mozilla/GeckoStyleContext.h"
|
||||
|
||||
#include "CSSVariableImageTable.h"
|
||||
#include "nsFontMetrics.h"
|
||||
#include "nsStyleConsts.h"
|
||||
#include "nsStyleStruct.h"
|
||||
#include "nsPresContext.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "mozilla/css/GroupRule.h"
|
||||
#include "nsCCUncollectableMarker.h"
|
||||
#include "nsIDocument.h"
|
||||
#include "nsWrapperCacheInlines.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "ServoCSSParser.h"
|
||||
|
||||
#include "mozilla/ServoBindings.h"
|
||||
#include "mozilla/ServoStyleSet.h"
|
||||
#include "nsIDocument.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
class nsCSSValue;
|
||||
class nsIDocument;
|
||||
struct nsCSSRect;
|
||||
struct nsTimingFunction;
|
||||
struct RawServoDeclarationBlock;
|
||||
|
||||
using RawGeckoGfxMatrix4x4 = mozilla::gfx::Float[16];
|
||||
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
#include "nsCSSCounterStyleRule.h"
|
||||
#include "nsCSSFontFaceRule.h"
|
||||
|
||||
using namespace mozilla::dom;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
ServoCSSRuleList::ServoCSSRuleList(already_AddRefed<ServoCssRules> aRawRules,
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
#include "mozilla/dom/CSSKeyframeRule.h"
|
||||
#include "mozilla/ServoBindingTypes.h"
|
||||
|
||||
class nsICSSDeclaration;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
class ServoDeclarationBlock;
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
#include "mozAutoDocUpdate.h"
|
||||
|
||||
using namespace mozilla::dom;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
// -- ServoStyleRuleDeclaration ---------------------------------------
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "nsXMLNameSpaceMap.h"
|
||||
#include "nsCSSPseudoClasses.h"
|
||||
#include "nsCSSAnonBoxes.h"
|
||||
#include "nsCSSRuleProcessor.h"
|
||||
#include "nsTArray.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsError.h"
|
||||
|
@ -34,6 +35,7 @@
|
|||
#include "nsRuleProcessorData.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
||||
#define NS_IF_CLONE(member_) \
|
||||
PR_BEGIN_MACRO \
|
||||
|
|
|
@ -9,9 +9,12 @@
|
|||
#include "mozilla/css/GroupRule.h"
|
||||
#include "mozilla/dom/CSSImportRule.h"
|
||||
#include "mozilla/dom/CSSRuleList.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/MediaList.h"
|
||||
#include "mozilla/dom/ShadowRoot.h"
|
||||
#include "mozilla/dom/ShadowRootBinding.h"
|
||||
#include "mozilla/ServoCSSRuleList.h"
|
||||
#include "mozilla/ServoStyleSet.h"
|
||||
#include "mozilla/ServoStyleSheet.h"
|
||||
#include "mozilla/StyleSheetInlines.h"
|
||||
#ifdef MOZ_OLD_STYLE
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "mozilla/dom/CSSFontFaceRuleBinding.h"
|
||||
#include "mozilla/dom/CSSStyleDeclarationBinding.h"
|
||||
#include "nsStyleUtil.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "nsStringFwd.h"
|
||||
#include "mozilla/CSSEnabledState.h"
|
||||
#include "mozilla/EventStates.h"
|
||||
#include "mozilla/Maybe.h"
|
||||
|
||||
// The following two flags along with the pref defines where this pseudo
|
||||
|
@ -29,6 +30,7 @@
|
|||
(CSS_PSEUDO_CLASS_ENABLED_IN_UA_SHEETS | CSS_PSEUDO_CLASS_ENABLED_IN_CHROME)
|
||||
|
||||
class nsAtom;
|
||||
class nsIDocument;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "nsAtom.h"
|
||||
#include "PLDHashTable.h"
|
||||
#include "mozilla/MemoryReporting.h"
|
||||
#include "mozilla/StylePrefs.h"
|
||||
#include "mozilla/css/ImportRule.h"
|
||||
#include "mozilla/css/StyleRule.h"
|
||||
#include "mozilla/css/GroupRule.h"
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "mozilla/Attributes.h"
|
||||
|
||||
#include "nsCSSValue.h"
|
||||
#include "mozAutoDocUpdate.h"
|
||||
#include "mozilla/StyleSheetInlines.h"
|
||||
#include "mozilla/MemoryReporting.h"
|
||||
#include "mozilla/css/ImportRule.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
class nsAtom;
|
||||
class nsIDocument;
|
||||
class nsCSSValue;
|
||||
class nsStaticAtom;
|
||||
|
||||
struct nsMediaFeature;
|
||||
typedef void (*nsMediaFeatureValueGetter)(nsIDocument* aDocument,
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#define CSS_NUMBER_UINT32 32U
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
||||
nsROCSSPrimitiveValue::nsROCSSPrimitiveValue()
|
||||
: CSSValue(), mType(CSSPrimitiveValueBinding::CSS_PX)
|
||||
|
|
Загрузка…
Ссылка в новой задаче