/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | SmartClip.cpp | 185 || (renderer->style()->hasBackgroundImage() && !shouldSkipBackgroundImage(node))) { 215 if (renderer && (renderer->style()->logicalHeight().isAuto() || renderer->style()->logicalWidth().isAuto())) 247 RenderStyle* style = currentNode->computedStyle(); local 248 if (style && style->userSelect() == SELECT_NONE)
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLAppletElement.cpp | 85 bool HTMLAppletElement::rendererIsNeeded(const RenderStyle& style) argument 89 return HTMLPlugInElement::rendererIsNeeded(style); 92 RenderObject* HTMLAppletElement::createRenderer(RenderStyle* style) argument 95 return RenderObject::createObject(this, style);
|
H A D | HTMLBodyElement.cpp | 63 void HTMLBodyElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) argument 71 style->setProperty(CSSProperty(CSSPropertyBackgroundImage, imageValue.release())); 74 addHTMLLengthToStyle(style, CSSPropertyMarginRight, value); 75 addHTMLLengthToStyle(style, CSSPropertyMarginLeft, value); 77 addHTMLLengthToStyle(style, CSSPropertyMarginBottom, value); 78 addHTMLLengthToStyle(style, CSSPropertyMarginTop, value); 80 addHTMLColorToStyle(style, CSSPropertyBackgroundColor, value); 82 addHTMLColorToStyle(style, CSSPropertyColor, value); 86 addPropertyToPresentationAttributeStyle(style, CSSPropertyBackgroundAttachment, CSSValueFixed); 89 HTMLElement::collectStyleForPresentationAttribute(name, value, style); [all...] |
H A D | HTMLMeterElement.cpp | 58 RenderObject* HTMLMeterElement::createRenderer(RenderStyle* style) argument 60 if (hasAuthorShadowRoot() || !RenderTheme::theme().supportsMeter(style->appearance())) 61 return RenderObject::createObject(this, style);
|
H A D | HTMLProgressElement.cpp | 61 RenderObject* HTMLProgressElement::createRenderer(RenderStyle* style) argument 63 if (!style->hasAppearance() || hasAuthorShadowRoot()) 64 return RenderObject::createObject(this, style);
|
H A D | HTMLTableCellElement.cpp | 88 void HTMLTableCellElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) argument 91 addPropertyToPresentationAttributeStyle(style, CSSPropertyWhiteSpace, CSSValueWebkitNowrap); 96 addHTMLLengthToStyle(style, CSSPropertyWidth, value); 102 addHTMLLengthToStyle(style, CSSPropertyHeight, value); 105 HTMLTablePartElement::collectStyleForPresentationAttribute(name, value, style);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | EllipsisBox.cpp | 30 #include "core/rendering/style/ShadowList.h" 40 RenderStyle* style = renderer().style(isFirstLineStyle()); local 41 const Font& font = style->font(); 56 paintSelection(context, boxOrigin, style, font); 60 TextPainter::Style textStyle = TextPainter::textPaintingStyle(renderer(), style, paintInfo.forceBlackText(), isPrinting); 64 TextRun textRun = constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion); 68 paintMarkupBox(paintInfo, paintOffset, lineTop, lineBottom, style); 84 if (!anchorBox || !anchorBox->renderer().style()->isLink()) 90 void EllipsisBox::paintMarkupBox(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lineBottom, RenderStyle* style) argument 104 RenderStyle* style = renderer().style(isFirstLineStyle()); local 109 paintSelection(GraphicsContext* context, const FloatPoint& boxOrigin, RenderStyle* style, const Font& font) argument 138 RenderStyle* style = renderer().style(isFirstLineStyle()); local [all...] |
H A D | TextPainter.h | 2 // Use of this source code is governed by a BSD-style license that can be 8 #include "core/rendering/style/RenderStyleConstants.h" 62 void updateGraphicsContext(const Style& style, GraphicsContextStateSaver& saver) argument 64 updateGraphicsContext(m_graphicsContext, style, m_horizontal, saver);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | GridResolvedPosition.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 6 #include "core/rendering/style/GridResolvedPosition.h" 9 #include "core/rendering/style/GridCoordinate.h" 13 static const NamedGridLinesMap& gridLinesForSide(const RenderStyle& style, GridPositionSide side) argument 15 return (side == ColumnStartSide || side == ColumnEndSide) ? style.namedGridColumnLines() : style.namedGridRowLines(); 23 static bool isValidNamedLineOrArea(const String& lineName, const RenderStyle& style, GridPositionSide side) argument 25 const NamedGridLinesMap& gridLineNames = gridLinesForSide(style, side); 42 initialPosition = (direction == ForColumns) ? gridItem.style()->gridColumnStart() : gridItem.style() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | RenderSVGResourceMasker.cpp | 63 ASSERT(style()); 83 ASSERT(style()); 88 const SVGRenderStyle& svgStyle = style()->svgStyle(); 142 RenderStyle* style = renderer->style(); local 143 if (!style || style->display() == NONE || style->visibility() != VISIBLE) 157 RenderStyle* style = renderer->style(); local [all...] |
H A D | RenderSVGResourcePattern.cpp | 115 bool RenderSVGResourcePattern::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) argument 118 ASSERT(style); 146 const SVGRenderStyle& svgStyle = style->svgStyle(); 161 SVGRenderSupport::applyStrokeStyleToContext(context, style, object);
|
H A D | SVGResourcesCache.cpp | 39 void SVGResourcesCache::addResourcesFromRenderObject(RenderObject* object, const RenderStyle* style) argument 42 ASSERT(style); 45 const SVGRenderStyle& svgStyle = style->svgStyle();
|
H A D | SVGTextChunkBuilder.cpp | 90 const RenderStyle* style = toRenderSVGInlineText(textBox->renderer()).style(); local 91 ASSERT(style); 93 const SVGRenderStyle& svgStyle = style->svgStyle(); 95 // Build chunk style flags. 99 if (!style->isLeftToRightDirection())
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGLengthContext.cpp | 223 return currentContext->renderer()->style(); 227 // There must be at least a RenderSVGRoot renderer, carrying a style. 234 RenderStyle* style = renderStyleForLengthResolving(m_context); local 235 if (!style) { 240 float fontSize = style->specifiedFontSize(); 251 RenderStyle* style = renderStyleForLengthResolving(m_context); local 252 if (!style) { 257 return value * style->specifiedFontSize(); 262 RenderStyle* style = renderStyleForLengthResolving(m_context); local 263 if (!style) { 281 RenderStyle* style = renderStyleForLengthResolving(m_context); local [all...] |
H A D | SVGTextContentElement.cpp | 214 void SVGTextContentElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) argument 217 SVGGraphicsElement::collectStyleForPresentationAttribute(name, value, style); 222 addPropertyToPresentationAttributeStyle(style, CSSPropertyWhiteSpace, CSSValuePre); 224 addPropertyToPresentationAttributeStyle(style, CSSPropertyWhiteSpace, CSSValueNowrap);
|
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/ |
H A D | XMLErrors.cpp | 135 RefPtrWillBeRawPtr<Element> style = m_document->createElement(styleTag, true); local 136 head->parserAppendChild(style); 137 style->parserAppendChild(m_document->createTextNode("html, body { height: 100% } parsererror + svg { width: 100%; height: 100% }")); 138 style->finishParsingChildren();
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
H A D | FontCacheSkia.cpp | 80 platformData.setSyntheticItalic(fontDescription.style() == FontStyleItalic); 90 // First try the specified font with standard style & weight. 91 if (fontDescription.style() == FontStyleItalic 119 if (fallbackFont.isItalic && description.style() == FontStyleNormal) 121 if (!fallbackFont.isItalic && description.style() == FontStyleItalic) { 172 SkFontStyle::Slant slant = fontDescription.style() == FontStyleItalic 215 int style = SkTypeface::kNormal; local 217 style |= SkTypeface::kBold; 218 if (fontDescription.style()) 219 style | [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | ExternalPopupMenu.cpp | 193 PopupMenuStyle style = popupMenuClient.itemStyle(i); local 194 if (style.isDisplayNone()) 208 popupItem.textDirection = toWebTextDirection(style.textDirection()); 209 popupItem.hasTextDirectionOverride = style.hasTextDirectionOverride();
|
/external/chromium_org/third_party/icu/source/samples/date/ |
H A D | date.c | 47 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status); 48 static UDate getWhen(const char *millis, const char *seconds, const char *format, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status); 70 UDateFormatStyle style = UDAT_DEFAULT; local 96 style = UDAT_FULL; 100 style = UDAT_LONG; 104 style = UDAT_MEDIUM; 108 style = UDAT_SHORT; 161 when = getWhen(millis, seconds, format, style, parse, tz, &status); 167 date(when, tz, style, format, &status); 242 UDateFormatStyle style, 240 date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status ) argument 291 getWhen(const char *millis, const char *seconds, const char *format, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status) argument [all...] |
/external/chromium_org/third_party/libxslt/libxslt/ |
H A D | attrvt.c | 56 * @style: a XSLT process context 63 xsltNewAttrVT(xsltStylesheetPtr style) { argument 68 xsltTransformError(NULL, style, NULL, 70 if (style != NULL) style->errors++; 78 cur->next = style->attVTs; 83 style->attVTs = (xsltAttrVTPtr) cur; 163 * @style: a XSLT process context 171 xsltCompileAttr(xsltStylesheetPtr style, xmlAttrPtr attr) { argument 179 if ((style [all...] |
H A D | imports.c | 59 * @style: the stylesheet being imported by the master 66 xsltStylesheetPtr style) { 68 xmlHashScan(style->templatesHash, 70 master->extrasNr += style->extrasNr; 71 for (res = style->imports; res != NULL; res = res->next) { 78 * @style: the XSLT stylesheet 87 xsltParseStylesheetImport(xsltStylesheetPtr style, xmlNodePtr cur) { argument 96 if ((cur == NULL) || (style == NULL)) 101 xsltTransformError(NULL, style, cur, 106 base = xmlNodeGetBase(style 65 xsltFixImportedCompSteps(xsltStylesheetPtr master, xsltStylesheetPtr style) argument 184 xsltParseStylesheetInclude(xsltStylesheetPtr style, xmlNodePtr cur) argument 314 xsltStylesheetPtr style; local 341 xsltStylesheetPtr style; local 397 xsltStylesheetPtr style; local [all...] |
H A D | namespaces.c | 69 xsltTransformError(NULL, cctxt->style, NULL, 71 cctxt->style->errors++; 86 * @style: the XSLT stylesheet 93 xsltNamespaceAlias(xsltStylesheetPtr style, xmlNodePtr node) argument 103 if ((style == NULL) || (node == NULL)) 130 xsltTransformError(NULL, style, node, 139 xsltTransformError(NULL, style, node, 151 xsltTransformError(NULL, style, node, 161 xsltTransformError(NULL, style, node, 205 alias = xsltNewNsAlias(XSLT_CCTXT(style)); 847 xsltFreeNamespaceAliasHashes(xsltStylesheetPtr style) argument [all...] |
/external/chromium_org/third_party/skia/gm/ |
H A D | cubicpaths.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 74 SkPaint::Style style, SkPath::FillType fill, 82 paint.setStyle(style); 158 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { 159 if (0 < style) { 165 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, 181 canvas->drawText(gStyles[style].fName, 182 strlen(gStyles[style] 72 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument 221 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument [all...] |
H A D | downsamplebitmap.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 17 static void setTypeface(SkPaint* paint, const char name[], SkTypeface::Style style) { argument 18 sk_tool_utils::set_portable_typeface(paint, name, style);
|
H A D | emptypath.cpp | 5 * Use of this source code is governed by a BSD-style license that can be 29 SkPaint::Style style, 35 paint.setStyle(style); 82 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { 97 gStyles[style].fStyle, gFills[fill].fFill); 112 canvas->drawText(gStyles[style].fName, 113 strlen(gStyles[style].fName), 26 drawEmpty(SkCanvas* canvas, SkColor color, const SkRect& clip, SkPaint::Style style, SkPath::FillType fill) argument
|