mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Issue #80 - De-unify layout/svg
This commit is contained in:
parent
f7493bacb5
commit
e68128d9ca
10 changed files with 12 additions and 1 deletions
|
|
@ -37,6 +37,7 @@
|
|||
#include "nsTextNode.h"
|
||||
#include "SVGAnimatedNumberList.h"
|
||||
#include "SVGContentUtils.h"
|
||||
#include "SVGContextPaint.h"
|
||||
#include "SVGLengthList.h"
|
||||
#include "SVGNumberList.h"
|
||||
#include "SVGPathElement.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ EXPORTS.mozilla += [
|
|||
'SVGContextPaint.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'nsCSSClipPathInstance.cpp',
|
||||
'nsCSSFilterInstance.cpp',
|
||||
'nsFilterInstance.cpp',
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::image;
|
||||
|
||||
FilterDescription
|
||||
nsFilterInstance::GetFilterDescription(nsIContent* aFilteredElement,
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
#include "SVGTextFrame.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::image;
|
||||
|
||||
NS_QUERYFRAME_HEAD(nsSVGContainerFrame)
|
||||
NS_QUERYFRAME_ENTRY(nsSVGContainerFrame)
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
#include "mozilla/dom/HTMLCanvasElement.h"
|
||||
#include "mozilla/dom/SVGFilterElement.h"
|
||||
#include "nsReferencedElement.h"
|
||||
#include "nsSVGEffects.h"
|
||||
#include "nsSVGFilterFrame.h"
|
||||
#include "nsSVGUtils.h"
|
||||
#include "SVGContentUtils.h"
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
#include "gfxRect.h"
|
||||
#include "nsRegionFwd.h"
|
||||
#include "mozilla/gfx/Rect.h"
|
||||
#include "imgIContainer.h"
|
||||
|
||||
class gfxContext;
|
||||
class gfxDrawable;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
using namespace mozilla::dom;
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::image;
|
||||
|
||||
nsContainerFrame*
|
||||
NS_NewSVGMarkerFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
||||
|
|
|
|||
|
|
@ -18,9 +18,12 @@
|
|||
#include "mozilla/dom/SVGSVGElement.h"
|
||||
#include "mozilla/dom/SVGViewElement.h"
|
||||
#include "nsSubDocumentFrame.h"
|
||||
#include "gfxMatrix.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::image;
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// Implementation helpers
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
#include "nsSVGUtils.h"
|
||||
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::image;
|
||||
|
||||
class nsSVGSwitchFrame : public nsSVGGFrame
|
||||
{
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@
|
|||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::image;
|
||||
|
||||
static bool sSVGPathCachingEnabled;
|
||||
static bool sSVGDisplayListHitTestingEnabled;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue