Back to index

lightning-sunbird  0.9+nobinonly
Defines
nsDOMCSSDeclaration.cpp File Reference
#include "nsDOMCSSDeclaration.h"
#include "nsIDOMCSSRule.h"
#include "nsICSSParser.h"
#include "nsICSSLoader.h"
#include "nsIStyleRule.h"
#include "nsCSSDeclaration.h"
#include "nsCSSProps.h"
#include "nsCOMPtr.h"
#include "nsIURL.h"
#include "nsReadableUtils.h"
#include "nsContentUtils.h"
#include "nsCSSPropList.h"

Go to the source code of this file.

Defines

#define CSS_PROP(name_, id_, method_, datastruct_, member_, type_, kwtable_)
#define CSS_PROP_NOTIMPLEMENTED(name_, id_, method_)
#define CSS_PROP_LIST_EXCLUDE_INTERNAL
#define CSS_PROP_SHORTHAND(name_, id_, method_)   CSS_PROP(name_, id_, method_, X, X, X, X)

Define Documentation

#define CSS_PROP (   name_,
  id_,
  method_,
  datastruct_,
  member_,
  type_,
  kwtable_ 
)
Value:
NS_IMETHODIMP                                                              \
  CSS2PropertiesTearoff::Get##method_(nsAString& aValue)                     \
  {                                                                          \
    return mOuter->GetPropertyValue(eCSSProperty_##id_, aValue);             \
  }                                                                          \
                                                                             \
  NS_IMETHODIMP                                                              \
  CSS2PropertiesTearoff::Set##method_(const nsAString& aValue)               \
  {                                                                          \
    return mOuter->SetPropertyValue(eCSSProperty_##id_, aValue);             \
  }

Definition at line 374 of file nsDOMCSSDeclaration.cpp.

Definition at line 401 of file nsDOMCSSDeclaration.cpp.

#define CSS_PROP_NOTIMPLEMENTED (   name_,
  id_,
  method_ 
)
Value:
NS_IMETHODIMP                                                              \
  CSS2PropertiesTearoff::Get##method_(nsAString& aValue)                     \
  {                                                                          \
    aValue.Truncate();                                                       \
    return NS_OK;                                                            \
  }                                                                          \
                                                                             \
  NS_IMETHODIMP                                                              \
  CSS2PropertiesTearoff::Set##method_(const nsAString& aValue)               \
  {                                                                          \
    return NS_OK;                                                            \
  }

Definition at line 387 of file nsDOMCSSDeclaration.cpp.

#define CSS_PROP_SHORTHAND (   name_,
  id_,
  method_ 
)    CSS_PROP(name_, id_, method_, X, X, X, X)

Definition at line 402 of file nsDOMCSSDeclaration.cpp.