Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: sky/engine/core/rendering/style/RenderStyle.h

Issue 731863003: Remove CSSCompositing (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: preland Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo r; } 788 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo r; }
789 789
790 EImageRendering imageRendering() const { return static_cast<EImageRendering> (rareInheritedData->m_imageRendering); } 790 EImageRendering imageRendering() const { return static_cast<EImageRendering> (rareInheritedData->m_imageRendering); }
791 791
792 ESpeak speak() const { return static_cast<ESpeak>(rareInheritedData->speak); } 792 ESpeak speak() const { return static_cast<ESpeak>(rareInheritedData->speak); }
793 793
794 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; } 794 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; }
795 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; } 795 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; }
796 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); } 796 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); }
797 797
798 WebBlendMode blendMode() const;
799 void setBlendMode(WebBlendMode v);
800 bool hasBlendMode() const;
801
802 EIsolation isolation() const;
803 void setIsolation(EIsolation v);
804 bool hasIsolation() const;
805
806 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef tToRightDirection(); } 798 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef tToRightDirection(); }
807 799
808 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); } 800 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); }
809 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); } 801 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); }
810 802
811 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r areNonInheritedData->m_scrollBehavior); } 803 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r areNonInheritedData->m_scrollBehavior); }
812 804
813 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn heritedData->m_willChange->m_properties; } 805 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn heritedData->m_willChange->m_properties; }
814 bool willChangeContents() const { return rareNonInheritedData->m_willChange- >m_contents; } 806 bool willChangeContents() const { return rareNonInheritedData->m_willChange- >m_contents; }
815 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC hange->m_scrollPosition; } 807 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC hange->m_scrollPosition; }
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 static WrapFlow initialWrapFlow() { return WrapFlowAuto; } 1364 static WrapFlow initialWrapFlow() { return WrapFlowAuto; }
1373 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } 1365 static WrapThrough initialWrapThrough() { return WrapThroughWrap; }
1374 1366
1375 static QuotesData* initialQuotes() { return 0; } 1367 static QuotesData* initialQuotes() { return 0; }
1376 1368
1377 // Keep these at the end. 1369 // Keep these at the end.
1378 // FIXME: Why? Seems these should all be one big sorted list. 1370 // FIXME: Why? Seems these should all be one big sorted list.
1379 static LineClampValue initialLineClamp() { return LineClampValue(); } 1371 static LineClampValue initialLineClamp() { return LineClampValue(); }
1380 static Color initialTapHighlightColor(); 1372 static Color initialTapHighlightColor();
1381 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO perations, ops, ()); return ops; } 1373 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO perations, ops, ()); return ops; }
1382 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; }
1383 static EIsolation initialIsolation() { return IsolationAuto; }
1384 1374
1385 Color colorIncludingFallback(int colorProperty) const; 1375 Color colorIncludingFallback(int colorProperty) const;
1386 1376
1387 private: 1377 private:
1388 void inheritUnicodeBidiFrom(const RenderStyle* parent) { noninherited_flags. unicodeBidi = parent->noninherited_flags.unicodeBidi; } 1378 void inheritUnicodeBidiFrom(const RenderStyle* parent) { noninherited_flags. unicodeBidi = parent->noninherited_flags.unicodeBidi; }
1389 void getShadowExtent(const ShadowList*, LayoutUnit& top, LayoutUnit& right, LayoutUnit& bottom, LayoutUnit& left) const; 1379 void getShadowExtent(const ShadowList*, LayoutUnit& top, LayoutUnit& right, LayoutUnit& bottom, LayoutUnit& left) const;
1390 LayoutBoxExtent getShadowInsetExtent(const ShadowList*) const; 1380 LayoutBoxExtent getShadowInsetExtent(const ShadowList*) const;
1391 void getShadowHorizontalExtent(const ShadowList*, LayoutUnit& left, LayoutUn it& right) const; 1381 void getShadowHorizontalExtent(const ShadowList*, LayoutUnit& left, LayoutUn it& right) const;
1392 void getShadowVerticalExtent(const ShadowList*, LayoutUnit& top, LayoutUnit& bottom) const; 1382 void getShadowVerticalExtent(const ShadowList*, LayoutUnit& top, LayoutUnit& bottom) const;
1393 void getShadowInlineDirectionExtent(const ShadowList* shadow, LayoutUnit& lo gicalLeft, LayoutUnit& logicalRight) const 1383 void getShadowInlineDirectionExtent(const ShadowList* shadow, LayoutUnit& lo gicalLeft, LayoutUnit& logicalRight) const
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1450 1440
1451 rareInheritedData.access()->m_textOrientation = textOrientation; 1441 rareInheritedData.access()->m_textOrientation = textOrientation;
1452 return true; 1442 return true;
1453 } 1443 }
1454 1444
1455 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1445 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1456 1446
1457 } // namespace blink 1447 } // namespace blink
1458 1448
1459 #endif // RenderStyle_h 1449 #endif // RenderStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698