diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-20 19:35:13 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-24 10:36:33 +0200 |
commit | 168bb31e4f89dc86ee81bd5a5e36da4b1c7ec499 (patch) | |
tree | ab1afac4e5d6d6f8b78e544164ab30e3d090aae6 | |
parent | ca04b379104159dfe7e73e513a32d65e765f4747 (diff) | |
download | uxp-168bb31e4f89dc86ee81bd5a5e36da4b1c7ec499.tar.gz |
Issue #80 - De-unify 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', |