OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 * | 20 * |
21 */ | 21 */ |
22 | 22 |
23 #ifndef ElementStyleResources_h | 23 #ifndef ElementStyleResources_h |
24 #define ElementStyleResources_h | 24 #define ElementStyleResources_h |
25 | 25 |
26 #include "core/CSSPropertyNames.h" | 26 #include "core/CSSPropertyNames.h" |
| 27 #include "core/css/CSSPropertyIDTemplates.h" |
27 #include "platform/CrossOriginAttributeValue.h" | 28 #include "platform/CrossOriginAttributeValue.h" |
28 #include "platform/graphics/Color.h" | 29 #include "platform/graphics/Color.h" |
29 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
30 #include "wtf/HashMap.h" | 31 #include "wtf/HashMap.h" |
31 #include "wtf/Noncopyable.h" | 32 #include "wtf/Noncopyable.h" |
32 | 33 |
33 namespace blink { | 34 namespace blink { |
34 | 35 |
35 class CSSCursorImageValue; | 36 class CSSCursorImageValue; |
36 class CSSImageGeneratorValue; | 37 class CSSImageGeneratorValue; |
37 class CSSImageSetValue; | 38 class CSSImageSetValue; |
38 class CSSImageValue; | 39 class CSSImageValue; |
39 class CSSSVGDocumentValue; | 40 class CSSSVGDocumentValue; |
40 class CSSValue; | 41 class CSSValue; |
41 class ComputedStyle; | 42 class ComputedStyle; |
| 43 class Document; |
42 class FilterOperation; | 44 class FilterOperation; |
43 class StyleImage; | 45 class StyleImage; |
44 class StylePendingImage; | 46 class StylePendingImage; |
45 | 47 |
46 // Holds information about resources, requested by stylesheets. | 48 // Holds information about resources, requested by stylesheets. |
47 // Lifetime: per-element style resolve. | 49 // Lifetime: per-element style resolve. |
48 class ElementStyleResources { | 50 class ElementStyleResources { |
49 STACK_ALLOCATED(); | 51 STACK_ALLOCATED(); |
50 WTF_MAKE_NONCOPYABLE(ElementStyleResources); | 52 WTF_MAKE_NONCOPYABLE(ElementStyleResources); |
51 public: | 53 public: |
(...skipping 18 matching lines...) Expand all Loading... |
70 | 72 |
71 Member<Document> m_document; | 73 Member<Document> m_document; |
72 HashSet<CSSPropertyID> m_pendingImageProperties; | 74 HashSet<CSSPropertyID> m_pendingImageProperties; |
73 HeapHashMap<Member<FilterOperation>, Member<CSSSVGDocumentValue>> m_pendingS
VGDocuments; | 75 HeapHashMap<Member<FilterOperation>, Member<CSSSVGDocumentValue>> m_pendingS
VGDocuments; |
74 float m_deviceScaleFactor; | 76 float m_deviceScaleFactor; |
75 }; | 77 }; |
76 | 78 |
77 } // namespace blink | 79 } // namespace blink |
78 | 80 |
79 #endif // ElementStyleResources_h | 81 #endif // ElementStyleResources_h |
OLD | NEW |