| OLD | NEW |
| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 StyleDifference visualInvalidationDiff(const RenderStyle&) const; | 294 StyleDifference visualInvalidationDiff(const RenderStyle&) const; |
| 295 | 295 |
| 296 enum IsAtShadowBoundary { | 296 enum IsAtShadowBoundary { |
| 297 AtShadowBoundary, | 297 AtShadowBoundary, |
| 298 NotAtShadowBoundary, | 298 NotAtShadowBoundary, |
| 299 }; | 299 }; |
| 300 | 300 |
| 301 void inheritFrom(const RenderStyle* inheritParent, IsAtShadowBoundary = NotA
tShadowBoundary); | 301 void inheritFrom(const RenderStyle* inheritParent, IsAtShadowBoundary = NotA
tShadowBoundary); |
| 302 void copyNonInheritedFrom(const RenderStyle*); | 302 void copyNonInheritedFrom(const RenderStyle*); |
| 303 | 303 |
| 304 // FIXME(sky): Remove this. | |
| 305 PseudoId styleType() const { return NOPSEUDO; } | |
| 306 | |
| 307 void setHasViewportUnits(bool hasViewportUnits = true) const { noninherited_
flags.hasViewportUnits = hasViewportUnits; } | 304 void setHasViewportUnits(bool hasViewportUnits = true) const { noninherited_
flags.hasViewportUnits = hasViewportUnits; } |
| 308 bool hasViewportUnits() const { return noninherited_flags.hasViewportUnits;
} | 305 bool hasViewportUnits() const { return noninherited_flags.hasViewportUnits;
} |
| 309 | 306 |
| 310 bool affectedByFocus() const { return noninherited_flags.affectedByFocus; } | 307 bool affectedByFocus() const { return noninherited_flags.affectedByFocus; } |
| 311 bool affectedByHover() const { return noninherited_flags.affectedByHover; } | 308 bool affectedByHover() const { return noninherited_flags.affectedByHover; } |
| 312 bool affectedByActive() const { return noninherited_flags.affectedByActive;
} | 309 bool affectedByActive() const { return noninherited_flags.affectedByActive;
} |
| 313 | 310 |
| 314 void setAffectedByFocus() { noninherited_flags.affectedByFocus = true; } | 311 void setAffectedByFocus() { noninherited_flags.affectedByFocus = true; } |
| 315 void setAffectedByHover() { noninherited_flags.affectedByHover = true; } | 312 void setAffectedByHover() { noninherited_flags.affectedByHover = true; } |
| 316 void setAffectedByActive() { noninherited_flags.affectedByActive = true; } | 313 void setAffectedByActive() { noninherited_flags.affectedByActive = true; } |
| (...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1381 | 1378 |
| 1382 rareInheritedData.access()->m_textOrientation = textOrientation; | 1379 rareInheritedData.access()->m_textOrientation = textOrientation; |
| 1383 return true; | 1380 return true; |
| 1384 } | 1381 } |
| 1385 | 1382 |
| 1386 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1383 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1387 | 1384 |
| 1388 } // namespace blink | 1385 } // namespace blink |
| 1389 | 1386 |
| 1390 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ | 1387 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ |
| OLD | NEW |