| 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 18 matching lines...) Expand all Loading... |
| 29 #include "core/css/CSSValue.h" | 29 #include "core/css/CSSValue.h" |
| 30 #include "platform/geometry/IntSizeHash.h" | 30 #include "platform/geometry/IntSizeHash.h" |
| 31 #include "wtf/HashCountedSet.h" | 31 #include "wtf/HashCountedSet.h" |
| 32 #include "wtf/RefPtr.h" | 32 #include "wtf/RefPtr.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class ResourceFetcher; | 36 class ResourceFetcher; |
| 37 class Image; | 37 class Image; |
| 38 class RenderObject; | 38 class RenderObject; |
| 39 class StyleResolver; | |
| 40 | 39 |
| 41 struct SizeAndCount { | 40 struct SizeAndCount { |
| 42 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) | 41 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) |
| 43 : size(newSize) | 42 : size(newSize) |
| 44 , count(newCount) | 43 , count(newCount) |
| 45 { | 44 { |
| 46 } | 45 } |
| 47 | 46 |
| 48 IntSize size; | 47 IntSize size; |
| 49 int count; | 48 int count; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 GC_PLUGIN_IGNORE("366546") | 86 GC_PLUGIN_IGNORE("366546") |
| 88 OwnPtr<Persistent<CSSImageGeneratorValue> > m_keepAlive; | 87 OwnPtr<Persistent<CSSImageGeneratorValue> > m_keepAlive; |
| 89 #endif | 88 #endif |
| 90 }; | 89 }; |
| 91 | 90 |
| 92 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue()); | 91 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue()); |
| 93 | 92 |
| 94 } // namespace blink | 93 } // namespace blink |
| 95 | 94 |
| 96 #endif // CSSImageGeneratorValue_h | 95 #endif // CSSImageGeneratorValue_h |
| OLD | NEW |