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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 { | 351 { |
352 return imageOutsets(maskBoxImage()); | 352 return imageOutsets(maskBoxImage()); |
353 } | 353 } |
354 | 354 |
355 bool hasFilterOutsets() const { return hasFilter() && filter().hasOutsets();
} | 355 bool hasFilterOutsets() const { return hasFilter() && filter().hasOutsets();
} |
356 FilterOutsets filterOutsets() const { return hasFilter() ? filter().outsets(
) : FilterOutsets(); } | 356 FilterOutsets filterOutsets() const { return hasFilter() ? filter().outsets(
) : FilterOutsets(); } |
357 | 357 |
358 Order rtlOrdering() const { return static_cast<Order>(inherited_flags.m_rtlO
rdering); } | 358 Order rtlOrdering() const { return static_cast<Order>(inherited_flags.m_rtlO
rdering); } |
359 void setRTLOrdering(Order o) { inherited_flags.m_rtlOrdering = o; } | 359 void setRTLOrdering(Order o) { inherited_flags.m_rtlOrdering = o; } |
360 | 360 |
361 bool isStyleAvailable() const; | |
362 | |
363 // attribute getter methods | 361 // attribute getter methods |
364 | 362 |
365 EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.e
ffectiveDisplay); } | 363 EDisplay display() const { return static_cast<EDisplay>(noninherited_flags.e
ffectiveDisplay); } |
366 EDisplay originalDisplay() const { return static_cast<EDisplay>(noninherited
_flags.originalDisplay); } | 364 EDisplay originalDisplay() const { return static_cast<EDisplay>(noninherited
_flags.originalDisplay); } |
367 | 365 |
368 const Length& left() const { return surround->offset.left(); } | 366 const Length& left() const { return surround->offset.left(); } |
369 const Length& right() const { return surround->offset.right(); } | 367 const Length& right() const { return surround->offset.right(); } |
370 const Length& top() const { return surround->offset.top(); } | 368 const Length& top() const { return surround->offset.top(); } |
371 const Length& bottom() const { return surround->offset.bottom(); } | 369 const Length& bottom() const { return surround->offset.bottom(); } |
372 | 370 |
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1387 | 1385 |
1388 rareInheritedData.access()->m_textOrientation = textOrientation; | 1386 rareInheritedData.access()->m_textOrientation = textOrientation; |
1389 return true; | 1387 return true; |
1390 } | 1388 } |
1391 | 1389 |
1392 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1390 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
1393 | 1391 |
1394 } // namespace blink | 1392 } // namespace blink |
1395 | 1393 |
1396 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ | 1394 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ |
OLD | NEW |