Home
last modified time | relevance | path

Searched refs:uaStyle (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTheme.cpp89 void RenderTheme::adjustStyle(RenderStyle* style, Element* e, const CachedUAStyle* uaStyle) in adjustStyle() argument
101 if (uaStyle && uaStyle->hasAppearance && isControlStyled(style, uaStyle)) { in adjustStyle()
556 static bool isBackgroundOrBorderStyled(const RenderStyle& style, const CachedUAStyle& uaStyle) in isBackgroundOrBorderStyled() argument
559 FillLayer backgroundCopy = uaStyle.backgroundLayers; in isBackgroundOrBorderStyled()
566 return style.border() != uaStyle.border in isBackgroundOrBorderStyled()
568 || style.visitedDependentColor(CSSPropertyBackgroundColor) != uaStyle.backgroundColor; in isBackgroundOrBorderStyled()
571 bool RenderTheme::isControlStyled(const RenderStyle* style, const CachedUAStyle* uaStyle) const in isControlStyled()
573 ASSERT(uaStyle); in isControlStyled()
585 return isBackgroundOrBorderStyled(*style, *uaStyle); in isControlStyled()
592 return isBackgroundOrBorderStyled(*style, *uaStyle) || style->boxShadow(); in isControlStyled()
DRenderThemeChromiumMac.mm513 bool RenderThemeChromiumMac::isControlStyled(const RenderStyle* style, const CachedUAStyle* uaStyle
515 ASSERT(uaStyle);
517 return style->border() != uaStyle->border || style->boxShadow();
529 return RenderTheme::isControlStyled(style, uaStyle);