From 1eeff4277a7624ac83e7a1f226234efc417fd7fc Mon Sep 17 00:00:00 2001 From: "jst%netscape.com" Date: Thu, 11 May 2000 23:03:25 +0000 Subject: [PATCH] Add the glue code for more DOM Level 2 interfaces to the build. --- dom/public/nsDOMPropEnums.h | 18 ++++++++++++++++++ dom/public/nsDOMPropNames.h | 18 ++++++++++++++++++ dom/src/css/Makefile.in | 4 ++++ dom/src/css/makefile.win | 12 ++++++++++-- 4 files changed, 50 insertions(+), 2 deletions(-) diff --git a/dom/public/nsDOMPropEnums.h b/dom/public/nsDOMPropEnums.h index e8ef9094149f..c58b6d304e5e 100644 --- a/dom/public/nsDOMPropEnums.h +++ b/dom/public/nsDOMPropEnums.h @@ -52,6 +52,9 @@ enum nsDOMProp { NS_DOM_PROP_CHARACTERDATA_LENGTH, NS_DOM_PROP_CHARACTERDATA_REPLACEDATA, NS_DOM_PROP_CHARACTERDATA_SUBSTRINGDATA, + NS_DOM_PROP_COUNTER_IDENTIFIER, + NS_DOM_PROP_COUNTER_LISTSTYLE, + NS_DOM_PROP_COUNTER_SEPARATOR, NS_DOM_PROP_CRMFOBJECT_REQUEST, NS_DOM_PROP_CRYPTO_ALERT, NS_DOM_PROP_CRYPTO_DISABLERIGHTCLICK, @@ -196,6 +199,14 @@ enum nsDOMProp { NS_DOM_PROP_CSSMEDIARULE_MEDIA, NS_DOM_PROP_CSSPAGERULE_SELECTORTEXT, NS_DOM_PROP_CSSPAGERULE_STYLE, + NS_DOM_PROP_CSSPRIMITIVEVALUE_GETCOUNTERVALUE, + NS_DOM_PROP_CSSPRIMITIVEVALUE_GETFLOATVALUE, + NS_DOM_PROP_CSSPRIMITIVEVALUE_GETRECTVALUE, + NS_DOM_PROP_CSSPRIMITIVEVALUE_GETRGBCOLORVALUE, + NS_DOM_PROP_CSSPRIMITIVEVALUE_GETSTRINGVALUE, + NS_DOM_PROP_CSSPRIMITIVEVALUE_PRIMITIVETYPE, + NS_DOM_PROP_CSSPRIMITIVEVALUE_SETFLOATVALUE, + NS_DOM_PROP_CSSPRIMITIVEVALUE_SETSTRINGVALUE, NS_DOM_PROP_CSSRULE_CSSTEXT, NS_DOM_PROP_CSSRULE_PARENTRULE, NS_DOM_PROP_CSSRULE_PARENTSTYLESHEET, @@ -832,6 +843,13 @@ enum nsDOMProp { NS_DOM_PROP_RANGE_STARTPARENT, NS_DOM_PROP_RANGE_SURROUNDCONTENTS, NS_DOM_PROP_RANGE_TOSTRING, + NS_DOM_PROP_RECT_BOTTOM, + NS_DOM_PROP_RECT_LEFT, + NS_DOM_PROP_RECT_RIGHT, + NS_DOM_PROP_RECT_TOP, + NS_DOM_PROP_RGBCOLOR_BLUE, + NS_DOM_PROP_RGBCOLOR_GREEN, + NS_DOM_PROP_RGBCOLOR_RED, NS_DOM_PROP_SCREEN_AVAILHEIGHT, NS_DOM_PROP_SCREEN_AVAILLEFT, NS_DOM_PROP_SCREEN_AVAILTOP, diff --git a/dom/public/nsDOMPropNames.h b/dom/public/nsDOMPropNames.h index 9097160e73f6..c0f7bf3a1bdc 100644 --- a/dom/public/nsDOMPropNames.h +++ b/dom/public/nsDOMPropNames.h @@ -51,6 +51,9 @@ "characterdata.length", \ "characterdata.replacedata", \ "characterdata.substringdata", \ + "counter.identifier", \ + "counter.liststyle", \ + "counter.separator", \ "crmfobject.request", \ "crypto.alert", \ "crypto.disablerightclick", \ @@ -195,6 +198,14 @@ "cssmediarule.media", \ "csspagerule.selectortext", \ "csspagerule.style", \ + "cssprimitivevalue.getcountervalue", \ + "cssprimitivevalue.getfloatvalue", \ + "cssprimitivevalue.getrectvalue", \ + "cssprimitivevalue.getrgbcolorvalue", \ + "cssprimitivevalue.getstringvalue", \ + "cssprimitivevalue.primitivetype", \ + "cssprimitivevalue.setfloatvalue", \ + "cssprimitivevalue.setstringvalue", \ "cssrule.csstext", \ "cssrule.parentrule", \ "cssrule.parentstylesheet", \ @@ -831,6 +842,13 @@ "range.startparent", \ "range.surroundcontents", \ "range.tostring", \ + "rect.bottom", \ + "rect.left", \ + "rect.right", \ + "rect.top", \ + "rgbcolor.blue", \ + "rgbcolor.green", \ + "rgbcolor.red", \ "screen.availheight", \ "screen.availleft", \ "screen.availtop", \ diff --git a/dom/src/css/Makefile.in b/dom/src/css/Makefile.in index 24360448cbc4..b8b449640126 100644 --- a/dom/src/css/Makefile.in +++ b/dom/src/css/Makefile.in @@ -44,6 +44,10 @@ CPPSRCS = \ nsJSCSSStyleSheet.cpp \ nsJSCSSUnknownRule.cpp \ nsJSCSSValue.cpp \ + nsJSCSSPrimitiveValue.cpp \ + nsJSCounter.cpp \ + nsJSRect.cpp \ + nsJSRGBColor.cpp \ $(NULL) # we don't want the shared lib, but we want to force the creation of a static lib. diff --git a/dom/src/css/makefile.win b/dom/src/css/makefile.win index a93bacd24ff7..8515cd6f2a99 100644 --- a/dom/src/css/makefile.win +++ b/dom/src/css/makefile.win @@ -22,7 +22,11 @@ CPPSRCS = \ nsJSCSSStyleSheet.cpp \ nsJSCSSUnknownRule.cpp \ nsJSCSSValue.cpp \ - $(NULL) + nsJSCSSPrimitiveValue.cpp \ + nsJSCounter.cpp \ + nsJSRect.cpp \ + nsJSRGBColor.cpp \ + $(NULL) CPP_OBJS= \ .\$(OBJDIR)\nsJSCSS2Properties.obj \ @@ -37,7 +41,11 @@ CPP_OBJS= \ .\$(OBJDIR)\nsJSCSSStyleSheet.obj \ .\$(OBJDIR)\nsJSCSSUnknownRule.obj \ .\$(OBJDIR)\nsJSCSSValue.obj \ - $(NULL) + .\$(OBJDIR)\nsJSCSSPrimitiveValue.obj \ + .\$(OBJDIR)\nsJSCounter.obj \ + .\$(OBJDIR)\nsJSRect.obj \ + .\$(OBJDIR)\nsJSRGBColor.obj \ + $(NULL) LINCS=-I$(XPDIST)\public\xpcom -I$(XPDIST)\public\raptor \