| 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 "platform/wtf/Allocator.h" |
| 35 #include "wtf/RefPtr.h" | 35 #include "platform/wtf/RefPtr.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 struct FillSize { | 39 struct FillSize { |
| 40 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 40 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 41 FillSize() : type(kSizeLength) {} | 41 FillSize() : type(kSizeLength) {} |
| 42 | 42 |
| 43 FillSize(EFillSizeType t, const LengthSize& l) : type(t), size(l) {} | 43 FillSize(EFillSizeType t, const LengthSize& l) : type(t), size(l) {} |
| 44 | 44 |
| 45 bool operator==(const FillSize& o) const { | 45 bool operator==(const FillSize& o) const { |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 // True if any of this or subsequent layers has local attachment. | 337 // True if any of this or subsequent layers has local attachment. |
| 338 mutable unsigned this_or_next_layers_have_local_attachment_ : 1; | 338 mutable unsigned this_or_next_layers_have_local_attachment_ : 1; |
| 339 // Set once any of the above is accessed. The layers will be frozen | 339 // Set once any of the above is accessed. The layers will be frozen |
| 340 // thereafter. | 340 // thereafter. |
| 341 mutable unsigned cached_properties_computed_ : 1; | 341 mutable unsigned cached_properties_computed_ : 1; |
| 342 }; | 342 }; |
| 343 | 343 |
| 344 } // namespace blink | 344 } // namespace blink |
| 345 | 345 |
| 346 #endif // FillLayer_h | 346 #endif // FillLayer_h |
| OLD | NEW |