| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef CSSImageGeneratorValue_h | 26 #ifndef CSSImageGeneratorValue_h |
| 27 #define CSSImageGeneratorValue_h | 27 #define CSSImageGeneratorValue_h |
| 28 | 28 |
| 29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 30 #include "core/css/CSSValue.h" | 30 #include "core/css/CSSValue.h" |
| 31 #include "platform/geometry/IntSizeHash.h" | 31 #include "platform/geometry/IntSizeHash.h" |
| 32 #include "platform/heap/SelfKeepAlive.h" | 32 #include "platform/heap/SelfKeepAlive.h" |
| 33 #include "wtf/HashCountedSet.h" | 33 #include "platform/wtf/HashCountedSet.h" |
| 34 #include "wtf/RefPtr.h" | 34 #include "platform/wtf/RefPtr.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class Document; | 38 class Document; |
| 39 class Image; | 39 class Image; |
| 40 class LayoutObject; | 40 class LayoutObject; |
| 41 class FloatSize; | 41 class FloatSize; |
| 42 | 42 |
| 43 struct SizeAndCount { | 43 struct SizeAndCount { |
| 44 DISALLOW_NEW(); | 44 DISALLOW_NEW(); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // where we keep a persistent to the instance as long as there are clients in | 92 // where we keep a persistent to the instance as long as there are clients in |
| 93 // the LayoutObjectSizeCountMap. | 93 // the LayoutObjectSizeCountMap. |
| 94 SelfKeepAlive<CSSImageGeneratorValue> keep_alive_; | 94 SelfKeepAlive<CSSImageGeneratorValue> keep_alive_; |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, IsImageGeneratorValue()); | 97 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, IsImageGeneratorValue()); |
| 98 | 98 |
| 99 } // namespace blink | 99 } // namespace blink |
| 100 | 100 |
| 101 #endif // CSSImageGeneratorValue_h | 101 #endif // CSSImageGeneratorValue_h |
| OLD | NEW |