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

Side by Side Diff: Source/core/rendering/style/RenderStyle.h

Issue 270383002: Remove will-change: contents GPU rasterization hint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 960
961 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); } 961 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); }
962 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); } 962 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); }
963 963
964 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r areNonInheritedData->m_scrollBehavior); } 964 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r areNonInheritedData->m_scrollBehavior); }
965 965
966 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn heritedData->m_willChange->m_properties; } 966 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn heritedData->m_willChange->m_properties; }
967 bool willChangeContents() const { return rareNonInheritedData->m_willChange- >m_contents; } 967 bool willChangeContents() const { return rareNonInheritedData->m_willChange- >m_contents; }
968 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC hange->m_scrollPosition; } 968 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC hange->m_scrollPosition; }
969 bool hasWillChangeCompositingHint() const; 969 bool hasWillChangeCompositingHint() const;
970 bool hasWillChangeGpuRasterizationHint() const;
971 970
972 // attribute setter methods 971 // attribute setter methods
973 972
974 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; } 973 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; }
975 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay = v; } 974 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay = v; }
976 void setPosition(EPosition v) { noninherited_flags._position = v; } 975 void setPosition(EPosition v) { noninherited_flags._position = v; }
977 void setFloating(EFloat v) { noninherited_flags._floating = v; } 976 void setFloating(EFloat v) { noninherited_flags._floating = v; }
978 977
979 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v); } 978 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v); }
980 void setRight(Length v) { SET_VAR(surround, offset.m_right, v); } 979 void setRight(Length v) { SET_VAR(surround, offset.m_right, v); }
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 inline bool RenderStyle::hasPseudoElementStyle() const 1877 inline bool RenderStyle::hasPseudoElementStyle() const
1879 { 1878 {
1880 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; 1879 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK;
1881 } 1880 }
1882 1881
1883 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1882 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1884 1883
1885 } // namespace WebCore 1884 } // namespace WebCore
1886 1885
1887 #endif // RenderStyle_h 1886 #endif // RenderStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698