Issue #80 - De-unify dom/smil

This commit is contained in:
Moonchild 2020-04-23 14:31:44 +00:00 • committed by Roy Tam
commit e734022ff3
7 changed files with 10 additions and 1 deletions

View file

@ -35,7 +35,7 @@ EXPORTS.mozilla.dom += [
'TimeEvent.h', 'TimeEvent.h',
] ]
UNIFIED_SOURCES += [ SOURCES += [
'nsSMILAnimationController.cpp', 'nsSMILAnimationController.cpp',
'nsSMILAnimationFunction.cpp', 'nsSMILAnimationFunction.cpp',
'nsSMILCompositor.cpp', 'nsSMILCompositor.cpp',

View file

@ -24,6 +24,7 @@
#include <math.h> #include <math.h>
#include <algorithm> #include <algorithm>
using namespace mozilla;
using namespace mozilla::dom; using namespace mozilla::dom;
//---------------------------------------------------------------------- //----------------------------------------------------------------------

View file

@ -17,6 +17,7 @@
#include "nsIDOMElement.h" #include "nsIDOMElement.h"
#include "nsIDocument.h" #include "nsIDocument.h"
using namespace mozilla;
using namespace mozilla::dom; using namespace mozilla::dom;
// Helper function // Helper function

View file

@ -18,6 +18,7 @@
#include "nsDebug.h" #include "nsDebug.h"
#include "nsStyleUtil.h" #include "nsStyleUtil.h"
#include "nsIDocument.h" #include "nsIDocument.h"
#include "nsComputedDOMStyle.h"
using namespace mozilla::dom; using namespace mozilla::dom;
using mozilla::StyleAnimationValue; using mozilla::StyleAnimationValue;

View file

@ -9,6 +9,9 @@
#include "nsCSSProps.h" #include "nsCSSProps.h"
#include "nsHashKeys.h" #include "nsHashKeys.h"
#include "nsSMILCSSProperty.h" #include "nsSMILCSSProperty.h"
#include "mozilla/CSSEnabledState.h"
using namespace mozilla;
// PLDHashEntryHdr methods // PLDHashEntryHdr methods
bool bool

View file

@ -8,6 +8,7 @@
#define NS_SMILINSTANCETIME_H_ #define NS_SMILINSTANCETIME_H_
#include "nsSMILTimeValue.h" #include "nsSMILTimeValue.h"
#include "nsISupports.h"
class nsSMILInterval; class nsSMILInterval;
class nsSMILTimeContainer; class nsSMILTimeContainer;

View file

@ -11,6 +11,8 @@
#include "mozilla/AutoRestore.h" #include "mozilla/AutoRestore.h"
using namespace mozilla;
nsSMILTimeContainer::nsSMILTimeContainer() nsSMILTimeContainer::nsSMILTimeContainer()
: :
mParent(nullptr), mParent(nullptr),