summaryrefslogtreecommitdiffstats
path: root/layout/base/nsPresShell.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-29 12:36:53 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-05-06 19:05:49 +0200
commit528abd534ef3e785d4a926a235e58f5c5179aef5 (patch)
tree67d848fa3880b5761ebf26fddf397dbe16880730 /layout/base/nsPresShell.cpp
parent519030e688dd7075a7cd9f14dd6fb9e210b5a689 (diff)
downloadUXP-528abd534ef3e785d4a926a235e58f5c5179aef5.tar
UXP-528abd534ef3e785d4a926a235e58f5c5179aef5.tar.gz
UXP-528abd534ef3e785d4a926a235e58f5c5179aef5.tar.lz
UXP-528abd534ef3e785d4a926a235e58f5c5179aef5.tar.xz
UXP-528abd534ef3e785d4a926a235e58f5c5179aef5.zip
Issue #80 - De-unify layout/base
Diffstat (limited to 'layout/base/nsPresShell.cpp')
-rw-r--r--layout/base/nsPresShell.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp
index 264b52b18..2615bbc49 100644
--- a/layout/base/nsPresShell.cpp
+++ b/layout/base/nsPresShell.cpp
@@ -58,6 +58,7 @@
#include "nsNameSpaceManager.h" // for Pref-related rule management (bugs 22963,20760,31816)
#include "nsFrame.h"
#include "FrameLayerBuilder.h"
+#include "FrameMetrics.h" // for ViewID
#include "nsViewManager.h"
#include "nsView.h"
#include "nsCRTGlue.h"
@@ -162,11 +163,12 @@
#endif
-#include "mozilla/layers/CompositorBridgeChild.h"
#include "GeckoProfiler.h"
#include "gfxPlatform.h"
#include "Layers.h"
#include "LayerTreeInvalidation.h"
+#include "ClientLayerManager.h"
+#include "mozilla/layers/CompositorBridgeChild.h"
#include "mozilla/css/ImageLoader.h"
#include "mozilla/dom/DocumentTimeline.h"
#include "mozilla/Preferences.h"
@@ -221,6 +223,8 @@ using namespace mozilla::gfx;
using namespace mozilla::layout;
using PaintFrameFlags = nsLayoutUtils::PaintFrameFlags;
+typedef FrameMetrics::ViewID ViewID;
+
CapturingContentInfo nsIPresShell::gCaptureInfo =
{ false /* mAllowed */, false /* mPointerLock */, false /* mRetargetToElement */,
false /* mPreventDrag */ };