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 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights 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 13 matching lines...) Expand all Loading... |
24 | 24 |
25 #ifndef FillLayer_h | 25 #ifndef FillLayer_h |
26 #define FillLayer_h | 26 #define FillLayer_h |
27 | 27 |
28 #include "core/CoreExport.h" | 28 #include "core/CoreExport.h" |
29 #include "core/style/ComputedStyleConstants.h" | 29 #include "core/style/ComputedStyleConstants.h" |
30 #include "core/style/StyleImage.h" | 30 #include "core/style/StyleImage.h" |
31 #include "platform/Length.h" | 31 #include "platform/Length.h" |
32 #include "platform/LengthSize.h" | 32 #include "platform/LengthSize.h" |
33 #include "platform/graphics/GraphicsTypes.h" | 33 #include "platform/graphics/GraphicsTypes.h" |
| 34 #include "wtf/Allocator.h" |
34 #include "wtf/RefPtr.h" | 35 #include "wtf/RefPtr.h" |
35 | 36 |
36 namespace blink { | 37 namespace blink { |
37 | 38 |
38 struct FillSize { | 39 struct FillSize { |
| 40 STACK_ALLOCATED(); |
39 FillSize() | 41 FillSize() |
40 : type(SizeLength) | 42 : type(SizeLength) |
41 { | 43 { |
42 } | 44 } |
43 | 45 |
44 FillSize(EFillSizeType t, const LengthSize& l) | 46 FillSize(EFillSizeType t, const LengthSize& l) |
45 : type(t) | 47 : type(t) |
46 , size(l) | 48 , size(l) |
47 { | 49 { |
48 } | 50 } |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 | 248 |
247 mutable unsigned m_thisOrNextLayersClipMax : 2; // EFillBox, maximum m_clip
value from this to bottom layer | 249 mutable unsigned m_thisOrNextLayersClipMax : 2; // EFillBox, maximum m_clip
value from this to bottom layer |
248 mutable unsigned m_thisOrNextLayersUseContentBox : 1; // True if any of this
or subsequent layers has content-box clip or origin. | 250 mutable unsigned m_thisOrNextLayersUseContentBox : 1; // True if any of this
or subsequent layers has content-box clip or origin. |
249 mutable unsigned m_thisOrNextLayersHaveLocalAttachment : 1; // True if any o
f this or subsequent layers has local attachment. | 251 mutable unsigned m_thisOrNextLayersHaveLocalAttachment : 1; // True if any o
f this or subsequent layers has local attachment. |
250 mutable unsigned m_cachedPropertiesComputed : 1; // Set once any of the abov
e is accessed. The layers will be frozen thereafter. | 252 mutable unsigned m_cachedPropertiesComputed : 1; // Set once any of the abov
e is accessed. The layers will be frozen thereafter. |
251 }; | 253 }; |
252 | 254 |
253 } // namespace blink | 255 } // namespace blink |
254 | 256 |
255 #endif // FillLayer_h | 257 #endif // FillLayer_h |
OLD | NEW |