OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "core/dom/Document.h" | 36 #include "core/dom/Document.h" |
37 #include "core/dom/DocumentOrderedList.h" | 37 #include "core/dom/DocumentOrderedList.h" |
38 #include "core/dom/DocumentStyleSheetCollection.h" | 38 #include "core/dom/DocumentStyleSheetCollection.h" |
39 #include "core/dom/StyleEngineContext.h" | 39 #include "core/dom/StyleEngineContext.h" |
40 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
41 #include "wtf/Allocator.h" | 41 #include "wtf/Allocator.h" |
42 #include "wtf/ListHashSet.h" | 42 #include "wtf/ListHashSet.h" |
43 #include "wtf/TemporaryChange.h" | 43 #include "wtf/TemporaryChange.h" |
44 #include "wtf/Vector.h" | 44 #include "wtf/Vector.h" |
45 #include "wtf/text/WTFString.h" | 45 #include "wtf/text/WTFString.h" |
46 #include <memory> | |
47 | 46 |
48 namespace blink { | 47 namespace blink { |
49 | 48 |
50 class CSSFontSelector; | 49 class CSSFontSelector; |
51 class CSSStyleSheet; | 50 class CSSStyleSheet; |
52 class Node; | 51 class Node; |
53 class RuleFeatureSet; | 52 class RuleFeatureSet; |
54 class ShadowTreeStyleSheetCollection; | 53 class ShadowTreeStyleSheetCollection; |
55 class StyleRuleFontFace; | 54 class StyleRuleFontFace; |
56 class StyleSheet; | 55 class StyleSheet; |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 bool m_didCalculateResolver = false; | 254 bool m_didCalculateResolver = false; |
256 | 255 |
257 Member<StyleResolver> m_resolver; | 256 Member<StyleResolver> m_resolver; |
258 StyleInvalidator m_styleInvalidator; | 257 StyleInvalidator m_styleInvalidator; |
259 | 258 |
260 Member<CSSFontSelector> m_fontSelector; | 259 Member<CSSFontSelector> m_fontSelector; |
261 | 260 |
262 HeapHashMap<AtomicString, Member<StyleSheetContents>> m_textToSheetCache; | 261 HeapHashMap<AtomicString, Member<StyleSheetContents>> m_textToSheetCache; |
263 HeapHashMap<Member<StyleSheetContents>, AtomicString> m_sheetToTextCache; | 262 HeapHashMap<Member<StyleSheetContents>, AtomicString> m_sheetToTextCache; |
264 | 263 |
265 std::unique_ptr<StyleResolverStats> m_styleResolverStats; | 264 OwnPtr<StyleResolverStats> m_styleResolverStats; |
266 unsigned m_styleForElementCount = 0; | 265 unsigned m_styleForElementCount = 0; |
267 | 266 |
268 friend class StyleEngineTest; | 267 friend class StyleEngineTest; |
269 }; | 268 }; |
270 | 269 |
271 } // namespace blink | 270 } // namespace blink |
272 | 271 |
273 #endif | 272 #endif |
OLD | NEW |