Chromium Code Reviews| 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 19 matching lines...) Expand all Loading... | |
| 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/Allocator.h" |
| 35 #include "wtf/RefPtr.h" | 35 #include "wtf/RefPtr.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 struct FillSize { | 39 struct FillSize { |
| 40 STACK_ALLOCATED(); | 40 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
|
suzyh_UTC10 (ex-contributor)
2016/08/26 04:14:34
Can you elaborate on the consequences of making th
alancutter (OOO until 2018)
2016/08/26 13:31:48
It's necessary for Vector<FillSize> which does pla
| |
| 41 FillSize() | 41 FillSize() |
| 42 : type(SizeLength) | 42 : type(SizeLength) |
| 43 { | 43 { |
| 44 } | 44 } |
| 45 | 45 |
| 46 FillSize(EFillSizeType t, const LengthSize& l) | 46 FillSize(EFillSizeType t, const LengthSize& l) |
| 47 : type(t) | 47 : type(t) |
| 48 , size(l) | 48 , size(l) |
| 49 { | 49 { |
| 50 } | 50 } |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 253 | 253 |
| 254 mutable unsigned m_thisOrNextLayersClipMax : 2; // EFillBox, maximum m_clip value from this to bottom layer | 254 mutable unsigned m_thisOrNextLayersClipMax : 2; // EFillBox, maximum m_clip value from this to bottom layer |
| 255 mutable unsigned m_thisOrNextLayersUseContentBox : 1; // True if any of this or subsequent layers has content-box clip or origin. | 255 mutable unsigned m_thisOrNextLayersUseContentBox : 1; // True if any of this or subsequent layers has content-box clip or origin. |
| 256 mutable unsigned m_thisOrNextLayersHaveLocalAttachment : 1; // True if any o f this or subsequent layers has local attachment. | 256 mutable unsigned m_thisOrNextLayersHaveLocalAttachment : 1; // True if any o f this or subsequent layers has local attachment. |
| 257 mutable unsigned m_cachedPropertiesComputed : 1; // Set once any of the abov e is accessed. The layers will be frozen thereafter. | 257 mutable unsigned m_cachedPropertiesComputed : 1; // Set once any of the abov e is accessed. The layers will be frozen thereafter. |
| 258 }; | 258 }; |
| 259 | 259 |
| 260 } // namespace blink | 260 } // namespace blink |
| 261 | 261 |
| 262 #endif // FillLayer_h | 262 #endif // FillLayer_h |
| OLD | NEW |