Searched defs:style (Results 101 - 125 of 556) sorted by relevance

1234567891011>>

/external/chromium_org/content/browser/compositor/
H A Dsoftware_output_device_win.cc2 // Use of this source code is governed by a BSD-style license that can be
24 LONG style = GetWindowLong(hwnd_, GWL_EXSTYLE); local
25 is_hwnd_composited_ = !!(style & WS_EX_COMPOSITED);
82 DWORD style = GetWindowLong(hwnd_, GWL_EXSTYLE); local
83 style &= ~WS_EX_COMPOSITED;
84 style |= WS_EX_LAYERED;
85 SetWindowLong(hwnd_, GWL_EXSTYLE, style);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSCalculationValueTest.cpp37 #include "core/rendering/style/RenderStyle.h"
38 #include "core/rendering/style/StyleInheritedData.h"
92 RefPtr<RenderStyle> style = RenderStyle::createDefaultStyle(); local
93 style->setEffectiveZoom(5);
94 CSSToLengthConversionData conversionData(style.get(), style.get(), 0);
H A DCSSKeyframeRule.cpp155 CSSStyleDeclaration* CSSKeyframeRule::style() const function in class:WebCore::CSSKeyframeRule
H A DCSSPageRule.cpp49 CSSStyleDeclaration* CSSPageRule::style() const function in class:WebCore::CSSPageRule
H A DCSSStyleRule.cpp60 CSSStyleDeclaration* CSSStyleRule::style() const function in class:WebCore::CSSStyleRule
H A DCSSValuePool.cpp31 #include "core/rendering/style/RenderStyle.h"
128 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createValue(const Length& value, const RenderStyle& style) argument
130 return CSSPrimitiveValue::create(value, style.effectiveZoom());
H A DSVGCSSComputedStyleDeclaration.cpp28 #include "core/rendering/style/RenderStyle.h"
86 PassRefPtrWillBeRawPtr<SVGPaint> CSSComputedStyleDeclaration::adjustSVGPaintForCurrentColor(PassRefPtrWillBeRawPtr<SVGPaint> newPaint, RenderStyle& style) const
90 paint->setColor(style.color());
109 RenderStyle* style = node->computedStyle(); local
110 if (!style)
113 const SVGRenderStyle* svgStyle = style->svgStyle();
165 return currentColorOrValidColor(*style, svgStyle->floodColor());
167 return currentColorOrValidColor(*style, svgStyle->lightingColor());
169 return currentColorOrValidColor(*style, svgStyle->stopColor());
171 return adjustSVGPaintForCurrentColor(SVGPaint::create(svgStyle->fillPaintType(), svgStyle->fillPaintUri(), svgStyle->fillPaintColor()), *style);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DMatchedPropertiesCache.cpp34 #include "core/rendering/style/RenderStyle.h"
38 void CachedMatchedProperties::set(const RenderStyle* style, const RenderStyle* parentStyle, const MatchResult& matchResult) argument
45 this->renderStyle = RenderStyle::clone(style);
75 if (cacheItem->renderStyle->insideLink() != styleResolverState.style()->insideLink())
86 void MatchedPropertiesCache::add(const RenderStyle* style, const RenderStyle* parentStyle, unsigned hash, const MatchResult& matchResult) argument
104 cacheItem->set(style, parentStyle, matchResult);
125 // Look for cache entries containing a style declaration with a single ref and remove them.
145 bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderStyle* style, const RenderStyle* parentStyle) argument
150 if (style->unique() || (style
[all...]
H A DSharedStyleFinder.cpp50 #include "core/rendering/style/RenderStyle.h"
126 // These two checks must be here since RuleSet has a special case to allow style sharing between elements
152 // that sharing the style makes sense. Instead we should just not support style sharing
202 RenderStyle* style = candidate.renderStyle(); local
203 if (!style)
205 if (!style->isSharable())
248 if (candidate.isLink() && m_context.elementLinkState() != style->insideLink())
335 // Tracking child index requires unique style for each node. This may get set by the sibling rule match above.
H A DStyleAdjuster.cpp46 #include "core/rendering/style/GridPosition.h"
47 #include "core/rendering/style/RenderStyle.h"
48 #include "core/rendering/style/RenderStyleConstants.h"
69 static void addIntrinsicMargins(RenderStyle* style) argument
72 const int intrinsicMargin = 2 * style->effectiveZoom();
76 if (style->width().isIntrinsicOrAuto()) {
77 if (style->marginLeft().quirk())
78 style->setMarginLeft(Length(intrinsicMargin, Fixed));
79 if (style->marginRight().quirk())
80 style
137 doesNotInheritTextDecoration(const RenderStyle* style, const Element* e) argument
146 isInTopLayer(const Element* element, const RenderStyle* style) argument
166 hasWillChangeThatCreatesStackingContext(const RenderStyle* style) argument
197 adjustRenderStyle(RenderStyle* style, RenderStyle* parentStyle, Element *e, const CachedUAStyle* cachedUAStyle) argument
289 adjustStyleForTagName(RenderStyle* style, RenderStyle* parentStyle, Element& element) argument
379 adjustOverflow(RenderStyle* style) argument
410 adjustStyleForDisplay(RenderStyle* style, RenderStyle* parentStyle) argument
[all...]
H A DStyleResourceLoader.cpp32 #include "core/rendering/style/ContentData.h"
33 #include "core/rendering/style/FillLayer.h"
34 #include "core/rendering/style/RenderStyle.h"
35 #include "core/rendering/style/StyleFetchedImage.h"
36 #include "core/rendering/style/StyleFetchedImageSet.h"
37 #include "core/rendering/style/StyleGeneratedImage.h"
38 #include "core/rendering/style/StylePendingImage.h"
117 void StyleResourceLoader::loadPendingImages(RenderStyle* style, ElementStyleResources& elementStyleResources) argument
128 for (FillLayer* backgroundLayer = style->accessBackgroundLayers(); backgroundLayer; backgroundLayer = backgroundLayer->next()) {
135 for (ContentData* contentData = const_cast<ContentData*>(style
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLEmbedElement.cpp78 void HTMLEmbedElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) argument
82 addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, 0, CSSPrimitiveValue::CSS_PX);
83 addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, 0, CSSPrimitiveValue::CSS_PX);
86 HTMLPlugInElement::collectStyleForPresentationAttribute(name, value, style);
156 bool HTMLEmbedElement::rendererIsNeeded(const RenderStyle& style) argument
159 return HTMLPlugInElement::rendererIsNeeded(style);
175 return HTMLPlugInElement::rendererIsNeeded(style);
H A DHTMLFrameSetElement.cpp65 void HTMLFrameSetElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) argument
68 addHTMLColorToStyle(style, CSSPropertyBorderColor, value);
70 HTMLElement::collectStyleForPresentationAttribute(name, value, style);
151 bool HTMLFrameSetElement::rendererIsNeeded(const RenderStyle& style) argument
155 return style.isStyleAvailable();
158 RenderObject* HTMLFrameSetElement::createRenderer(RenderStyle *style) argument
160 if (style->hasContent())
161 return RenderObject::createObject(this, style);
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DTextControlInnerElements.cpp84 RefPtr<RenderStyle> style = RenderStyle::create(); local
85 style->inheritFrom(shadowHost()->renderStyle());
87 style->setFlexGrow(1);
88 style->setDisplay(BLOCK);
89 style->setDirection(LTR);
93 style->setUserModify(READ_ONLY);
94 style->setUnique();
96 return style.release();
144 return textControlRenderer->createInnerEditorStyle(textControlRenderer->style());
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderFullScreen.cpp119 if (parent && !parent->isChildAllowed(fullscreenRenderer, fullscreenRenderer->style())) {
181 void RenderFullScreen::createPlaceholder(PassRefPtr<RenderStyle> style, const LayoutRect& frameRect) argument
183 if (style->width().isAuto())
184 style->setWidth(Length(frameRect.width(), Fixed));
185 if (style->height().isAuto())
186 style->setHeight(Length(frameRect.height(), Fixed));
190 m_placeholder->setStyle(style);
196 m_placeholder->setStyle(style);
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DCompositingReasonFinder.cpp2 // Use of this source code is governed by a BSD-style license that can be
84 RenderStyle* style = renderer->style(); local
92 if (style->backfaceVisibility() == BackfaceVisibilityHidden)
95 if (requiresCompositingForAnimation(style))
98 if (style->hasWillChangeCompositingHint() && !style->subtreeWillChangeContents())
107 // Note that we ask the renderer if it has a transform, because the style may have transforms,
109 return renderer->hasTransform() && renderer->style()->transform().has3DOperation();
148 bool CompositingReasonFinder::requiresCompositingForAnimation(RenderStyle* style) cons
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DKeyframeList.h29 #include "core/rendering/style/StyleInheritedData.h"
42 KeyframeValue(double key, PassRefPtr<RenderStyle> style) argument
44 , m_style(style)
55 const RenderStyle* style() const { return m_style.get(); } function in class:WebCore::KeyframeValue
56 void setStyle(PassRefPtr<RenderStyle> style) { m_style = style; } argument
H A DShadowData.h39 ShadowData(const FloatPoint& location, float blur, float spread, ShadowStyle style, const Color& color) argument
44 , m_style(style)
58 ShadowStyle style() const { return m_style; } function in class:WebCore::ShadowData
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DReferenceFilterBuilder.cpp77 const RenderStyle* style = renderer ? renderer->style() : 0; local
78 const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0;
H A DRenderSVGResource.cpp40 if (!object->parent() || !object->parent()->style())
42 const SVGRenderStyle* parentSVGStyle = object->parent()->style()->svgStyle();
50 static inline RenderSVGResource* requestPaintingResource(RenderSVGResourceMode mode, RenderObject* object, const RenderStyle* style, bool& hasFallback) argument
53 ASSERT(style);
57 // If we have no style at all, ignore it.
58 const SVGRenderStyle* svgStyle = style->svgStyle();
101 if (style->insideLink() == InsideVisitedLink) {
152 RenderSVGResource* RenderSVGResource::fillPaintingResource(RenderObject* object, const RenderStyle* style, bool& hasFallback) argument
154 return requestPaintingResource(ApplyToFillMode, object, style, hasFallback);
157 RenderSVGResource* RenderSVGResource::strokePaintingResource(RenderObject* object, const RenderStyle* style, boo argument
[all...]
H A DRenderSVGResourceGradient.cpp53 bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) argument
56 ASSERT(style);
107 const SVGRenderStyle* svgStyle = style->svgStyle();
126 SVGRenderSupport::applyStrokeStyleToContext(context, style, object);
H A DSVGTextLayoutEngineBaseline.cpp25 #include "core/rendering/style/SVGRenderStyle.h"
38 float SVGTextLayoutEngineBaseline::calculateBaselineShift(const SVGRenderStyle* style, SVGElement* contextElement) const argument
40 if (style->baselineShift() == BS_LENGTH) {
41 RefPtr<SVGLength> baselineShiftValueLength = style->baselineShiftValue();
49 switch (style->baselineShift()) {
65 ASSERT(textRenderer->style());
67 ASSERT(textRenderer->parent()->style());
69 const SVGRenderStyle* style = textRenderer->style()->svgStyle(); local
70 ASSERT(style);
155 calculateGlyphOrientationAngle(bool isVerticalText, const SVGRenderStyle* style, const UChar& character) const argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFilterPrimitiveStandardAttributes.cpp138 bool SVGFilterPrimitiveStandardAttributes::rendererIsNeeded(const RenderStyle& style) argument
141 return SVGElement::rendererIsNeeded(style);
H A DSVGForeignObjectElement.cpp91 void SVGForeignObjectElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) argument
99 addPropertyToPresentationAttributeStyle(style, CSSPropertyWidth, value);
101 addPropertyToPresentationAttributeStyle(style, CSSPropertyHeight, value);
104 SVGGraphicsElement::collectStyleForPresentationAttribute(name, value, style);
139 bool SVGForeignObjectElement::rendererIsNeeded(const RenderStyle& style) argument
154 return SVGGraphicsElement::rendererIsNeeded(style);
H A DSVGTextPathElement.cpp136 bool SVGTextPathElement::rendererIsNeeded(const RenderStyle& style) argument
139 return Element::rendererIsNeeded(style);

Completed in 4025 milliseconds

1234567891011>>