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

Side by Side Diff: Source/core/style/ComputedStyle.h

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: one more Created 5 years, 3 months 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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0 ; } 915 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0 ; }
916 const LengthPoint& perspectiveOrigin() const { return rareNonInheritedData-> m_perspectiveOrigin; } 916 const LengthPoint& perspectiveOrigin() const { return rareNonInheritedData-> m_perspectiveOrigin; }
917 const Length& perspectiveOriginX() const { return perspectiveOrigin().x(); } 917 const Length& perspectiveOriginX() const { return perspectiveOrigin().x(); }
918 const Length& perspectiveOriginY() const { return perspectiveOrigin().y(); } 918 const Length& perspectiveOriginY() const { return perspectiveOrigin().y(); }
919 const FloatSize& pageSize() const { return rareNonInheritedData->m_pageSize; } 919 const FloatSize& pageSize() const { return rareNonInheritedData->m_pageSize; }
920 PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon InheritedData->m_pageSizeType); } 920 PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon InheritedData->m_pageSizeType); }
921 921
922 bool hasCurrentOpacityAnimation() const { return rareNonInheritedData->m_has CurrentOpacityAnimation; } 922 bool hasCurrentOpacityAnimation() const { return rareNonInheritedData->m_has CurrentOpacityAnimation; }
923 bool hasCurrentTransformAnimation() const { return rareNonInheritedData->m_h asCurrentTransformAnimation; } 923 bool hasCurrentTransformAnimation() const { return rareNonInheritedData->m_h asCurrentTransformAnimation; }
924 bool hasCurrentFilterAnimation() const { return rareNonInheritedData->m_hasC urrentFilterAnimation; } 924 bool hasCurrentFilterAnimation() const { return rareNonInheritedData->m_hasC urrentFilterAnimation; }
925 bool shouldCompositeForCurrentAnimations() const { return hasCurrentOpacityA nimation() || hasCurrentTransformAnimation() || hasCurrentFilterAnimation(); } 925 bool hasCurrentBackdropFilterAnimation() const { return rareNonInheritedData ->m_hasCurrentBackdropFilterAnimation; }
926 bool shouldCompositeForCurrentAnimations() const { return hasCurrentOpacityA nimation() || hasCurrentTransformAnimation() || hasCurrentFilterAnimation() || h asCurrentBackdropFilterAnimation(); }
926 927
927 bool isRunningOpacityAnimationOnCompositor() const { return rareNonInherited Data->m_runningOpacityAnimationOnCompositor; } 928 bool isRunningOpacityAnimationOnCompositor() const { return rareNonInherited Data->m_runningOpacityAnimationOnCompositor; }
928 bool isRunningTransformAnimationOnCompositor() const { return rareNonInherit edData->m_runningTransformAnimationOnCompositor; } 929 bool isRunningTransformAnimationOnCompositor() const { return rareNonInherit edData->m_runningTransformAnimationOnCompositor; }
929 bool isRunningFilterAnimationOnCompositor() const { return rareNonInheritedD ata->m_runningFilterAnimationOnCompositor; } 930 bool isRunningFilterAnimationOnCompositor() const { return rareNonInheritedD ata->m_runningFilterAnimationOnCompositor; }
930 bool isRunningAnimationOnCompositor() const { return isRunningOpacityAnimati onOnCompositor() || isRunningTransformAnimationOnCompositor() || isRunningFilter AnimationOnCompositor(); } 931 bool isRunningBackdropFilterAnimationOnCompositor() const { return rareNonIn heritedData->m_runningBackdropFilterAnimationOnCompositor; }
932 bool isRunningAnimationOnCompositor() const { return isRunningOpacityAnimati onOnCompositor() || isRunningTransformAnimationOnCompositor() || isRunningFilter AnimationOnCompositor() || isRunningBackdropFilterAnimationOnCompositor(); }
931 933
932 LineBoxContain lineBoxContain() const { return rareInheritedData->m_lineBoxC ontain; } 934 LineBoxContain lineBoxContain() const { return rareInheritedData->m_lineBoxC ontain; }
933 const LineClampValue& lineClamp() const { return rareNonInheritedData->lineC lamp; } 935 const LineClampValue& lineClamp() const { return rareNonInheritedData->lineC lamp; }
934 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo r; } 936 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo r; }
935 ETextSecurity textSecurity() const { return static_cast<ETextSecurity>(rareI nheritedData->textSecurity); } 937 ETextSecurity textSecurity() const { return static_cast<ETextSecurity>(rareI nheritedData->textSecurity); }
936 938
937 WritingMode writingMode() const { return static_cast<WritingMode>(inherited_ flags.m_writingMode); } 939 WritingMode writingMode() const { return static_cast<WritingMode>(inherited_ flags.m_writingMode); }
938 bool isHorizontalWritingMode() const { return blink::isHorizontalWritingMode (writingMode()); } 940 bool isHorizontalWritingMode() const { return blink::isHorizontalWritingMode (writingMode()); }
939 bool isFlippedLinesWritingMode() const { return blink::isFlippedLinesWriting Mode(writingMode()); } 941 bool isFlippedLinesWritingMode() const { return blink::isFlippedLinesWriting Mode(writingMode()); }
940 bool isFlippedBlocksWritingMode() const { return blink::isFlippedBlocksWriti ngMode(writingMode()); } 942 bool isFlippedBlocksWritingMode() const { return blink::isFlippedBlocksWriti ngMode(writingMode()); }
941 943
942 EImageRendering imageRendering() const { return static_cast<EImageRendering> (rareInheritedData->m_imageRendering); } 944 EImageRendering imageRendering() const { return static_cast<EImageRendering> (rareInheritedData->m_imageRendering); }
943 945
944 ESpeak speak() const { return static_cast<ESpeak>(rareInheritedData->speak); } 946 ESpeak speak() const { return static_cast<ESpeak>(rareInheritedData->speak); }
945 947
946 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; } 948 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; }
947 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; } 949 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; }
948 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); } 950 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); }
949 951
952 FilterOperations& mutableBackdropFilter() { return rareNonInheritedData.acce ss()->m_backdropFilter.access()->m_operations; }
953 const FilterOperations& backdropFilter() const { return rareNonInheritedData ->m_backdropFilter->m_operations; }
954 bool hasBackdropFilter() const { return !rareNonInheritedData->m_backdropFil ter->m_operations.operations().isEmpty(); }
955
950 WebBlendMode blendMode() const { return static_cast<WebBlendMode>(rareNonInh eritedData->m_effectiveBlendMode); } 956 WebBlendMode blendMode() const { return static_cast<WebBlendMode>(rareNonInh eritedData->m_effectiveBlendMode); }
951 void setBlendMode(WebBlendMode v) { rareNonInheritedData.access()->m_effecti veBlendMode = v; } 957 void setBlendMode(WebBlendMode v) { rareNonInheritedData.access()->m_effecti veBlendMode = v; }
952 bool hasBlendMode() const { return blendMode() != WebBlendModeNormal; } 958 bool hasBlendMode() const { return blendMode() != WebBlendModeNormal; }
953 959
954 EIsolation isolation() const { return static_cast<EIsolation>(rareNonInherit edData->m_isolation); } 960 EIsolation isolation() const { return static_cast<EIsolation>(rareNonInherit edData->m_isolation); }
955 void setIsolation(EIsolation v) { rareNonInheritedData.access()->m_isolation = v; } 961 void setIsolation(EIsolation v) { rareNonInheritedData.access()->m_isolation = v; }
956 bool hasIsolation() const { return isolation() != IsolationAuto; } 962 bool hasIsolation() const { return isolation() != IsolationAuto; }
957 963
958 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef tToRightDirection() && isHorizontalWritingMode(); } 964 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef tToRightDirection() && isHorizontalWritingMode(); }
959 965
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 void setMotionOffset(const Length& motionOffset) { SET_VAR(rareNonInheritedD ata.access()->m_transform, m_motion.m_offset, motionOffset); } 1377 void setMotionOffset(const Length& motionOffset) { SET_VAR(rareNonInheritedD ata.access()->m_transform, m_motion.m_offset, motionOffset); }
1372 void setMotionRotation(float motionRotation) { SET_VAR(rareNonInheritedData. access()->m_transform, m_motion.m_rotation, motionRotation); } 1378 void setMotionRotation(float motionRotation) { SET_VAR(rareNonInheritedData. access()->m_transform, m_motion.m_rotation, motionRotation); }
1373 void setMotionRotationType(MotionRotationType motionRotationType) { SET_VAR( rareNonInheritedData.access()->m_transform, m_motion.m_rotationType, motionRotat ionType); } 1379 void setMotionRotationType(MotionRotationType motionRotationType) { SET_VAR( rareNonInheritedData.access()->m_transform, m_motion.m_rotationType, motionRotat ionType); }
1374 1380
1375 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit, f); } 1381 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit, f); }
1376 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData, m_objectPosition, position); } 1382 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData, m_objectPosition, position); }
1377 1383
1378 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r ubyPosition, position); } 1384 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r ubyPosition, position); }
1379 1385
1380 void setFilter(const FilterOperations& ops) { SET_VAR(rareNonInheritedData.a ccess()->m_filter, m_operations, ops); } 1386 void setFilter(const FilterOperations& ops) { SET_VAR(rareNonInheritedData.a ccess()->m_filter, m_operations, ops); }
1387 void setBackdropFilter(const FilterOperations& ops) { SET_VAR(rareNonInherit edData.access()->m_backdropFilter, m_operations, ops); }
1381 1388
1382 void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size); } 1389 void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size); }
1383 1390
1384 void setRespectImageOrientation(RespectImageOrientationEnum v) { SET_VAR(rar eInheritedData, m_respectImageOrientation, v); } 1391 void setRespectImageOrientation(RespectImageOrientationEnum v) { SET_VAR(rar eInheritedData, m_respectImageOrientation, v); }
1385 1392
1386 // End CSS3 Setters 1393 // End CSS3 Setters
1387 1394
1388 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl ow, wrapFlow); } 1395 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl ow, wrapFlow); }
1389 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData, m_wrapThrough, wrapThrough); } 1396 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData, m_wrapThrough, wrapThrough); }
1390 1397
1391 // Apple-specific property setters 1398 // Apple-specific property setters
1392 void setPointerEvents(EPointerEvents p) { inherited_flags._pointerEvents = p ; } 1399 void setPointerEvents(EPointerEvents p) { inherited_flags._pointerEvents = p ; }
1393 1400
1394 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData , m_transformStyle3D, b); } 1401 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData , m_transformStyle3D, b); }
1395 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited Data, m_backfaceVisibility, b); } 1402 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited Data, m_backfaceVisibility, b); }
1396 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective, p); } 1403 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective, p); }
1397 void setPerspectiveOriginX(const Length& v) { setPerspectiveOrigin(LengthPoi nt(v, perspectiveOriginY())); } 1404 void setPerspectiveOriginX(const Length& v) { setPerspectiveOrigin(LengthPoi nt(v, perspectiveOriginY())); }
1398 void setPerspectiveOriginY(const Length& v) { setPerspectiveOrigin(LengthPoi nt(perspectiveOriginX(), v)); } 1405 void setPerspectiveOriginY(const Length& v) { setPerspectiveOrigin(LengthPoi nt(perspectiveOriginX(), v)); }
1399 void setPerspectiveOrigin(const LengthPoint& p) { SET_VAR(rareNonInheritedDa ta, m_perspectiveOrigin, p); } 1406 void setPerspectiveOrigin(const LengthPoint& p) { SET_VAR(rareNonInheritedDa ta, m_perspectiveOrigin, p); }
1400 void setPageSize(const FloatSize& s) { SET_VAR(rareNonInheritedData, m_pageS ize, s); } 1407 void setPageSize(const FloatSize& s) { SET_VAR(rareNonInheritedData, m_pageS ize, s); }
1401 void setPageSizeType(PageSizeType t) { SET_VAR(rareNonInheritedData, m_pageS izeType, t); } 1408 void setPageSizeType(PageSizeType t) { SET_VAR(rareNonInheritedData, m_pageS izeType, t); }
1402 void resetPageSizeType() { SET_VAR(rareNonInheritedData, m_pageSizeType, PAG E_SIZE_AUTO); } 1409 void resetPageSizeType() { SET_VAR(rareNonInheritedData, m_pageSizeType, PAG E_SIZE_AUTO); }
1403 1410
1404 void setHasCurrentOpacityAnimation(bool b = true) { SET_VAR(rareNonInherited Data, m_hasCurrentOpacityAnimation, b); } 1411 void setHasCurrentOpacityAnimation(bool b = true) { SET_VAR(rareNonInherited Data, m_hasCurrentOpacityAnimation, b); }
1405 void setHasCurrentTransformAnimation(bool b = true) { SET_VAR(rareNonInherit edData, m_hasCurrentTransformAnimation, b); } 1412 void setHasCurrentTransformAnimation(bool b = true) { SET_VAR(rareNonInherit edData, m_hasCurrentTransformAnimation, b); }
1406 void setHasCurrentFilterAnimation(bool b = true) { SET_VAR(rareNonInheritedD ata, m_hasCurrentFilterAnimation, b); } 1413 void setHasCurrentFilterAnimation(bool b = true) { SET_VAR(rareNonInheritedD ata, m_hasCurrentFilterAnimation, b); }
1414 void setHasCurrentBackdropFilterAnimation(bool b = true) { SET_VAR(rareNonIn heritedData, m_hasCurrentBackdropFilterAnimation, b); }
1407 1415
1408 void setIsRunningOpacityAnimationOnCompositor(bool b = true) { SET_VAR(rareN onInheritedData, m_runningOpacityAnimationOnCompositor, b); } 1416 void setIsRunningOpacityAnimationOnCompositor(bool b = true) { SET_VAR(rareN onInheritedData, m_runningOpacityAnimationOnCompositor, b); }
1409 void setIsRunningTransformAnimationOnCompositor(bool b = true) { SET_VAR(rar eNonInheritedData, m_runningTransformAnimationOnCompositor, b); } 1417 void setIsRunningTransformAnimationOnCompositor(bool b = true) { SET_VAR(rar eNonInheritedData, m_runningTransformAnimationOnCompositor, b); }
1410 void setIsRunningFilterAnimationOnCompositor(bool b = true) { SET_VAR(rareNo nInheritedData, m_runningFilterAnimationOnCompositor, b); } 1418 void setIsRunningFilterAnimationOnCompositor(bool b = true) { SET_VAR(rareNo nInheritedData, m_runningFilterAnimationOnCompositor, b); }
1419 void setIsRunningBackdropFilterAnimationOnCompositor(bool b = true) { SET_VA R(rareNonInheritedData, m_runningBackdropFilterAnimationOnCompositor, b); }
1411 1420
1412 void setLineBoxContain(LineBoxContain c) { SET_VAR(rareInheritedData, m_line BoxContain, c); } 1421 void setLineBoxContain(LineBoxContain c) { SET_VAR(rareInheritedData, m_line BoxContain, c); }
1413 void setLineClamp(LineClampValue c) { SET_VAR(rareNonInheritedData, lineClam p, c); } 1422 void setLineClamp(LineClampValue c) { SET_VAR(rareNonInheritedData, lineClam p, c); }
1414 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi ghlightColor, c); } 1423 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi ghlightColor, c); }
1415 void setTextSecurity(ETextSecurity aTextSecurity) { SET_VAR(rareInheritedDat a, textSecurity, aTextSecurity); } 1424 void setTextSecurity(ETextSecurity aTextSecurity) { SET_VAR(rareInheritedDat a, textSecurity, aTextSecurity); }
1416 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc tion, t); } 1425 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc tion, t); }
1417 1426
1418 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s crollBehavior, b); } 1427 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s crollBehavior, b); }
1419 1428
1420 void setScrollSnapType(ScrollSnapType b) { SET_VAR(rareNonInheritedData, m_s crollSnapType, b); } 1429 void setScrollSnapType(ScrollSnapType b) { SET_VAR(rareNonInheritedData, m_s crollSnapType, b); }
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1740 1749
1741 static QuotesData* initialQuotes() { return 0; } 1750 static QuotesData* initialQuotes() { return 0; }
1742 1751
1743 // Keep these at the end. 1752 // Keep these at the end.
1744 // FIXME: Why? Seems these should all be one big sorted list. 1753 // FIXME: Why? Seems these should all be one big sorted list.
1745 static LineClampValue initialLineClamp() { return LineClampValue(); } 1754 static LineClampValue initialLineClamp() { return LineClampValue(); }
1746 static ETextSecurity initialTextSecurity() { return TSNONE; } 1755 static ETextSecurity initialTextSecurity() { return TSNONE; }
1747 static Color initialTapHighlightColor(); 1756 static Color initialTapHighlightColor();
1748 #if ENABLE(OILPAN) 1757 #if ENABLE(OILPAN)
1749 static const FilterOperations& initialFilter(); 1758 static const FilterOperations& initialFilter();
1759 static const FilterOperations& initialBackdropFilter();
1750 #else 1760 #else
1751 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO perations, ops, ()); return ops; } 1761 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO perations, ops, ()); return ops; }
1762 static const FilterOperations& initialBackdropFilter() { DEFINE_STATIC_LOCAL (FilterOperations, ops, ()); return ops; }
1752 #endif 1763 #endif
1753 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; } 1764 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; }
1754 static EIsolation initialIsolation() { return IsolationAuto; } 1765 static EIsolation initialIsolation() { return IsolationAuto; }
1755 private: 1766 private:
1756 void setVisitedLinkColor(const Color&); 1767 void setVisitedLinkColor(const Color&);
1757 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData, m_visitedLinkBackgroundColor, v); } 1768 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData, m_visitedLinkBackgroundColor, v); }
1758 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData, m_visitedLinkBorderLeftColor, v); } 1769 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh eritedData, m_visitedLinkBorderLeftColor, v); }
1759 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn heritedData, m_visitedLinkBorderRightColor, v); } 1770 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn heritedData, m_visitedLinkBorderRightColor, v); }
1760 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI nheritedData, m_visitedLinkBorderBottomColor, v); } 1771 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI nheritedData, m_visitedLinkBorderBottomColor, v); }
1761 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe ritedData, m_visitedLinkBorderTopColor, v); } 1772 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe ritedData, m_visitedLinkBorderTopColor, v); }
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
1941 } 1952 }
1942 1953
1943 inline bool ComputedStyle::hasPseudoElementStyle() const 1954 inline bool ComputedStyle::hasPseudoElementStyle() const
1944 { 1955 {
1945 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1956 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1946 } 1957 }
1947 1958
1948 } // namespace blink 1959 } // namespace blink
1949 1960
1950 #endif // ComputedStyle_h 1961 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698