当前位置: 首页>>代码示例>>C++>>正文


C++ FindAttributeDependence函数代码示例

本文整理汇总了C++中FindAttributeDependence函数的典型用法代码示例。如果您正苦于以下问题:C++ FindAttributeDependence函数的具体用法?C++ FindAttributeDependence怎么用?C++ FindAttributeDependence使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了FindAttributeDependence函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: FindAttributeDependence

SVGPathElement::IsAttributeMapped(const nsIAtom* name) const
{
  static const MappedAttributeEntry* const map[] = {
    sMarkersMap
  };

  return FindAttributeDependence(name, map) ||
    SVGPathElementBase::IsAttributeMapped(name);
}
开发者ID:ak352,项目名称:mozilla-central,代码行数:9,代码来源:SVGPathElement.cpp

示例2: FindAttributeDependence

nsSVGImageElement::IsAttributeMapped(const nsIAtom* name) const
{
  static const MappedAttributeEntry* const map[] = {
    sViewportsMap,
  };
  
  return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
    nsSVGImageElementBase::IsAttributeMapped(name);
}
开发者ID:MozillaOnline,项目名称:gecko-dev,代码行数:9,代码来源:nsSVGImageElement.cpp

示例3: FindAttributeDependence

HTMLVideoElement::IsAttributeMapped(const nsAtom* aAttribute) const {
  static const MappedAttributeEntry attributes[] = {
      {nsGkAtoms::width}, {nsGkAtoms::height}, {nullptr}};

  static const MappedAttributeEntry* const map[] = {attributes,
                                                    sCommonAttributeMap};

  return FindAttributeDependence(aAttribute, map);
}
开发者ID:jld,项目名称:gecko-dev,代码行数:9,代码来源:HTMLVideoElement.cpp

示例4: FindAttributeDependence

nsHTMLFrameElement::IsAttributeMapped(const nsIAtom* aAttribute) const
{
  static const MappedAttributeEntry* const map[] = {
    sScrollingAttributeMap,
    sCommonAttributeMap,
  };
  
  return FindAttributeDependence(aAttribute, map, NS_ARRAY_LENGTH(map));
}
开发者ID:lofter2011,项目名称:Icefox,代码行数:9,代码来源:nsHTMLFrameElement.cpp

示例5: FindAttributeDependence

HTMLTextAreaElement::IsAttributeMapped(const nsIAtom* aAttribute) const
{
  static const MappedAttributeEntry* const map[] = {
    sDivAlignAttributeMap,
    sCommonAttributeMap,
  };

  return FindAttributeDependence(aAttribute, map);
}
开发者ID:JaminLiu,项目名称:gecko-dev,代码行数:9,代码来源:HTMLTextAreaElement.cpp

示例6: FindAttributeDependence

nsSVGGradientElement::IsAttributeMapped(const nsIAtom* name) const
{
  static const MappedAttributeEntry* const map[] = {
    sColorMap,
    sGradientStopMap
  };
  
  return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
    nsSVGGradientElementBase::IsAttributeMapped(name);
}
开发者ID:EdgarChen,项目名称:mozilla-cvs-history,代码行数:10,代码来源:nsSVGGradientElement.cpp

示例7: FindAttributeDependence

HTMLSharedObjectElement::IsAttributeMapped(const nsIAtom *aAttribute) const
{
  static const MappedAttributeEntry* const map[] = {
    sCommonAttributeMap,
    sImageMarginSizeAttributeMap,
    sImageBorderAttributeMap,
    sImageAlignAttributeMap,
  };

  return FindAttributeDependence(aAttribute, map);
}
开发者ID:LordJZ,项目名称:gecko-dev,代码行数:11,代码来源:HTMLSharedObjectElement.cpp

示例8: FindAttributeDependence

nsHTMLDivElement::IsAttributeMapped(const nsIAtom* aAttribute) const
{
  if (mNodeInfo->Equals(nsGkAtoms::div)) {
    static const MappedAttributeEntry* const map[] = {
      sDivAlignAttributeMap,
      sCommonAttributeMap
    };
    return FindAttributeDependence(aAttribute, map, NS_ARRAY_LENGTH(map));
  }
  if (mNodeInfo->Equals(nsGkAtoms::marquee)) {  
    static const MappedAttributeEntry* const map[] = {
      sImageMarginSizeAttributeMap,
      sBackgroundColorAttributeMap,
      sCommonAttributeMap
    };
    return FindAttributeDependence(aAttribute, map, NS_ARRAY_LENGTH(map));
  }

  return nsGenericHTMLElement::IsAttributeMapped(aAttribute);
}
开发者ID:AllenDou,项目名称:firefox,代码行数:20,代码来源:nsHTMLDivElement.cpp

示例9: FindAttributeDependence

HTMLTextAreaElement::IsAttributeMapped(const nsAtom* aAttribute) const {
  static const MappedAttributeEntry attributes[] = {{nsGkAtoms::wrap},
                                                    {nullptr}};

  static const MappedAttributeEntry* const map[] = {
      attributes,
      sDivAlignAttributeMap,
      sCommonAttributeMap,
  };

  return FindAttributeDependence(aAttribute, map);
}
开发者ID:jasonLaster,项目名称:gecko-dev,代码行数:12,代码来源:HTMLTextAreaElement.cpp

示例10: FindAttributeDependence

nsSVGTextPathElement::IsAttributeMapped(const nsIAtom* name) const
{
  static const MappedAttributeEntry* const map[] = {
    sColorMap,
    sFillStrokeMap,
    sFontSpecificationMap,
    sGraphicsMap,
    sTextContentElementsMap
  };
  
  return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
    nsSVGTextPathElementBase::IsAttributeMapped(name);
}
开发者ID:Egyptghost1,项目名称:DOMinator,代码行数:13,代码来源:nsSVGTextPathElement.cpp

示例11: Tag

PRBool
nsMathMLElement::IsAttributeMapped(const nsIAtom* aAttribute) const
{
  static const MappedAttributeEntry* const tokenMap[] = {
    sTokenStyles
  };
  static const MappedAttributeEntry* const mstyleMap[] = {
    sTokenStyles,
    sEnvironmentStyles
  };
  
  // We don't support mglyph (yet).
  nsIAtom* tag = Tag();
  if (tag == nsGkAtoms::ms_ || tag == nsGkAtoms::mi_ ||
      tag == nsGkAtoms::mn_ || tag == nsGkAtoms::mo_ ||
      tag == nsGkAtoms::mtext_)
    return FindAttributeDependence(aAttribute, tokenMap,
                                   NS_ARRAY_LENGTH(tokenMap));
  if (tag == nsGkAtoms::mstyle_)
    return FindAttributeDependence(aAttribute, mstyleMap,
                                   NS_ARRAY_LENGTH(mstyleMap));
  return PR_FALSE;
}
开发者ID:PolyMtl,项目名称:crash-inducing,代码行数:23,代码来源:00744b85e7e4da4714ede502dbd00b4a0ff7e25d.cpp

示例12: FindAttributeDependence

nsHTMLLIElement::IsAttributeMapped(const nsIAtom* aAttribute) const
{
  static const MappedAttributeEntry attributes[] = {
    { &nsGkAtoms::type },
    { nsnull },
  };

  static const MappedAttributeEntry* const map[] = {
    attributes,
    sCommonAttributeMap,
  };

  return FindAttributeDependence(aAttribute, map, NS_ARRAY_LENGTH(map));
}
开发者ID:Akin-Net,项目名称:mozilla-central,代码行数:14,代码来源:nsHTMLLIElement.cpp

示例13: FindAttributeDependence

nsSVGFilterElement::IsAttributeMapped(const nsIAtom* name) const
{
  static const MappedAttributeEntry* const map[] = {
    sFEFloodMap,
    sFiltersMap,
    sFontSpecificationMap,
    sGradientStopMap,
    sLightingEffectsMap,
    sMarkersMap,
    sTextContentElementsMap,
    sViewportsMap
  };
  return FindAttributeDependence(name, map, NS_ARRAY_LENGTH(map)) ||
    nsSVGGraphicElementBase::IsAttributeMapped(name);
}
开发者ID:MozillaOnline,项目名称:gecko-dev,代码行数:15,代码来源:nsSVGFilterElement.cpp

示例14: FindAttributeDependence

SVGSwitchElement::IsAttributeMapped(const nsAtom* name) const
{
  static const MappedAttributeEntry* const map[] = {
    sFEFloodMap,
    sFiltersMap,
    sFontSpecificationMap,
    sGradientStopMap,
    sLightingEffectsMap,
    sMarkersMap,
    sTextContentElementsMap,
    sViewportsMap
  };

  return FindAttributeDependence(name, map) ||
    SVGSwitchElementBase::IsAttributeMapped(name);
}
开发者ID:marcoscaceres,项目名称:gecko-dev,代码行数:16,代码来源:SVGSwitchElement.cpp

示例15: FindAttributeDependence

HTMLFontElement::IsAttributeMapped(const nsIAtom* aAttribute) const
{
    static const MappedAttributeEntry attributes[] = {
        { &nsGkAtoms::face },
        { &nsGkAtoms::size },
        { &nsGkAtoms::color },
        { nullptr }
    };

    static const MappedAttributeEntry* const map[] = {
        attributes,
        sCommonAttributeMap,
    };

    return FindAttributeDependence(aAttribute, map);
}
开发者ID:nhirata,项目名称:releases-mozilla-central,代码行数:16,代码来源:HTMLFontElement.cpp


注:本文中的FindAttributeDependence函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。