diff options
author | Moonchild <moonchild@palemoon.org> | 2020-04-29 12:36:53 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-04-29 12:36:53 +0000 |
commit | ad0a976f2d276215d1f159d1aee9553bd7ad32cd (patch) | |
tree | 63211bffe1f68d4c6977c9f01c29d4ac5762864c /layout/base/nsPresShell.cpp | |
parent | f1f9fdabf129e15b8fd5be7d93f61533617fed2e (diff) | |
download | uxp-ad0a976f2d276215d1f159d1aee9553bd7ad32cd.tar.gz |
Issue #80 - De-unify layout/base
Diffstat (limited to 'layout/base/nsPresShell.cpp')
-rw-r--r-- | layout/base/nsPresShell.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp index bd5125637f..8b469185f2 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 */ }; |