| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef ExclusionShapeInfo_h | 30 #ifndef ExclusionShapeInfo_h |
| 31 #define ExclusionShapeInfo_h | 31 #define ExclusionShapeInfo_h |
| 32 | 32 |
| 33 #if ENABLE(CSS_EXCLUSIONS) | 33 #if ENABLE(CSS_EXCLUSIONS) |
| 34 | 34 |
| 35 #include "ExclusionShape.h" | 35 #include "ExclusionShape.h" |
| 36 #include "ExclusionShapeValue.h" | 36 #include "ExclusionShapeValue.h" |
| 37 #include "LayoutUnit.h" | |
| 38 #include "RenderStyle.h" | 37 #include "RenderStyle.h" |
| 38 #include "core/platform/LayoutUnit.h" |
| 39 #include "core/platform/graphics/FloatRect.h" | 39 #include "core/platform/graphics/FloatRect.h" |
| 40 #include <wtf/OwnPtr.h> | 40 #include <wtf/OwnPtr.h> |
| 41 #include <wtf/Vector.h> | 41 #include <wtf/Vector.h> |
| 42 | 42 |
| 43 namespace WebCore { | 43 namespace WebCore { |
| 44 | 44 |
| 45 template<class KeyType, class InfoType> | 45 template<class KeyType, class InfoType> |
| 46 class MappedInfo { | 46 class MappedInfo { |
| 47 public: | 47 public: |
| 48 static InfoType* ensureInfo(const KeyType* key) | 48 static InfoType* ensureInfo(const KeyType* key) |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 private: | 122 private: |
| 123 mutable OwnPtr<ExclusionShape> m_shape; | 123 mutable OwnPtr<ExclusionShape> m_shape; |
| 124 | 124 |
| 125 LayoutUnit m_shapeLogicalWidth; | 125 LayoutUnit m_shapeLogicalWidth; |
| 126 LayoutUnit m_shapeLogicalHeight; | 126 LayoutUnit m_shapeLogicalHeight; |
| 127 const RenderType* m_renderer; | 127 const RenderType* m_renderer; |
| 128 }; | 128 }; |
| 129 } | 129 } |
| 130 #endif | 130 #endif |
| 131 #endif | 131 #endif |
| OLD | NEW |