зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1614208 - Forward-declare StaticPresData in nsPresContext.h. r=jfkthame
This avoids including nsFont.h and a bunch of other stuff in nsPresContext.h Differential Revision: https://phabricator.services.mozilla.com/D62166 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d7841a5f17
Коммит
298c598770
|
@ -39,6 +39,7 @@
|
|||
#include "mozilla/StaticPrefs_plugins.h"
|
||||
#include "mozilla/StaticPrefs_privacy.h"
|
||||
#include "mozilla/StaticPrefs_security.h"
|
||||
#include "mozilla/StaticPresData.h"
|
||||
#include "mozilla/StorageAccess.h"
|
||||
#include "mozilla/TextControlElement.h"
|
||||
#include "mozilla/TextEditor.h"
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
#include "mozilla/dom/PBrowserParent.h"
|
||||
#include "mozilla/dom/BrowserChild.h"
|
||||
#include "mozilla/dom/BrowserParent.h"
|
||||
#include "mozilla/StaticPresData.h"
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "Layers.h"
|
||||
#include "LayerUserData.h"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "nsCOMPtr.h"
|
||||
#include "nsRect.h"
|
||||
#include "nsStringFwd.h"
|
||||
#include "nsFont.h"
|
||||
#include "gfxFontConstants.h"
|
||||
#include "nsAtom.h"
|
||||
#include "nsCRT.h"
|
||||
|
@ -43,7 +42,6 @@
|
|||
#include "nsThreadUtils.h"
|
||||
#include "Units.h"
|
||||
#include "prenv.h"
|
||||
#include "mozilla/StaticPresData.h"
|
||||
|
||||
class nsBidi;
|
||||
class nsIPrintSettings;
|
||||
|
@ -80,6 +78,7 @@ class EventStateManager;
|
|||
class CounterStyleManager;
|
||||
class PresShell;
|
||||
class RestyleManager;
|
||||
class StaticPresData;
|
||||
namespace layers {
|
||||
class ContainerLayer;
|
||||
class LayerManager;
|
||||
|
@ -137,7 +136,6 @@ class nsPresContext : public nsISupports,
|
|||
using StylePrefersColorScheme = mozilla::StylePrefersColorScheme;
|
||||
|
||||
typedef mozilla::ScrollStyles ScrollStyles;
|
||||
typedef mozilla::StaticPresData StaticPresData;
|
||||
using TransactionId = mozilla::layers::TransactionId;
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS_FINAL
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "mozilla/PresShell.h"
|
||||
#include "mozilla/dom/HTMLCanvasElement.h"
|
||||
#include "mozilla/StaticPresData.h"
|
||||
|
||||
#include "DateTimeFormat.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/ServoElementSnapshot.h"
|
||||
#include "mozilla/ShadowParts.h"
|
||||
#include "mozilla/StaticPresData.h"
|
||||
#include "mozilla/StaticPrefs_layout.h"
|
||||
#include "mozilla/RestyleManager.h"
|
||||
#include "mozilla/SizeOfState.h"
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/GeckoBindings.h"
|
||||
#include "mozilla/PreferenceSheet.h"
|
||||
#include "mozilla/StaticPresData.h"
|
||||
#include "mozilla/Likely.h"
|
||||
#include "nsIURI.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче