diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-20 19:35:13 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-20 19:35:13 +0200 |
commit | fd1e35f8d507f22f3fff546004ebaaa145c47d90 (patch) | |
tree | 2304c016ae45158cf04ac969c67a8bd22e62792f /dom/grid | |
parent | f7ee7bf961b3c7488338a468b54f8934f9c16b28 (diff) | |
download | uxp-fd1e35f8d507f22f3fff546004ebaaa145c47d90.tar.gz |
Issue #80 - De-unify dom/grid
Diffstat (limited to 'dom/grid')
-rw-r--r-- | dom/grid/GridDimension.h | 2 | ||||
-rw-r--r-- | dom/grid/GridLines.cpp | 1 | ||||
-rw-r--r-- | dom/grid/GridLines.h | 7 | ||||
-rw-r--r-- | dom/grid/moz.build | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/dom/grid/GridDimension.h b/dom/grid/GridDimension.h index 7a33735216..ec96354441 100644 --- a/dom/grid/GridDimension.h +++ b/dom/grid/GridDimension.h @@ -7,11 +7,13 @@ #ifndef mozilla_dom_GridDimension_h #define mozilla_dom_GridDimension_h +#include "mozilla/dom/GridBinding.h" #include "nsWrapperCache.h" namespace mozilla { struct ComputedGridTrackInfo; +struct ComputedGridLineInfo; namespace dom { diff --git a/dom/grid/GridLines.cpp b/dom/grid/GridLines.cpp index 8988853464..2604eff6cf 100644 --- a/dom/grid/GridLines.cpp +++ b/dom/grid/GridLines.cpp @@ -6,6 +6,7 @@ #include "GridLines.h" +#include "GridArea.h" #include "GridDimension.h" #include "GridLine.h" #include "mozilla/dom/GridBinding.h" diff --git a/dom/grid/GridLines.h b/dom/grid/GridLines.h index 9211682040..784fe2d28a 100644 --- a/dom/grid/GridLines.h +++ b/dom/grid/GridLines.h @@ -7,10 +7,15 @@ #ifndef mozilla_dom_GridLines_h #define mozilla_dom_GridLines_h -#include "nsTArray.h" +#include "mozilla/dom/GridBinding.h" +#include "nsGridContainerFrame.h" #include "nsWrapperCache.h" namespace mozilla { + +struct ComputedGridTrackInfo; +struct ComputedGridLineInfo; + namespace dom { class GridDimension; diff --git a/dom/grid/moz.build b/dom/grid/moz.build index 96d5c31510..62025c98ec 100644 --- a/dom/grid/moz.build +++ b/dom/grid/moz.build @@ -16,7 +16,7 @@ EXPORTS.mozilla.dom += [ 'GridTracks.h', ] -UNIFIED_SOURCES += [ +SOURCES += [ 'Grid.cpp', 'GridArea.cpp', 'GridDimension.cpp', |