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, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 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) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "core/css/CSSFontSelector.h" | 32 #include "core/css/CSSFontSelector.h" |
33 #include "core/css/CSSStyleSheet.h" | 33 #include "core/css/CSSStyleSheet.h" |
34 #include "core/css/FontFaceCache.h" | 34 #include "core/css/FontFaceCache.h" |
35 #include "core/css/StyleSheetContents.h" | 35 #include "core/css/StyleSheetContents.h" |
36 #include "core/css/resolver/ScopedStyleResolver.h" | 36 #include "core/css/resolver/ScopedStyleResolver.h" |
37 #include "core/dom/DocumentStyleSheetCollector.h" | 37 #include "core/dom/DocumentStyleSheetCollector.h" |
38 #include "core/dom/Element.h" | 38 #include "core/dom/Element.h" |
39 #include "core/dom/ProcessingInstruction.h" | 39 #include "core/dom/ProcessingInstruction.h" |
40 #include "core/dom/ShadowTreeStyleSheetCollection.h" | 40 #include "core/dom/ShadowTreeStyleSheetCollection.h" |
41 #include "core/dom/shadow/ShadowRoot.h" | 41 #include "core/dom/shadow/ShadowRoot.h" |
| 42 #include "core/frame/Settings.h" |
42 #include "core/html/HTMLIFrameElement.h" | 43 #include "core/html/HTMLIFrameElement.h" |
43 #include "core/html/HTMLLinkElement.h" | 44 #include "core/html/HTMLLinkElement.h" |
44 #include "core/html/imports/HTMLImportsController.h" | 45 #include "core/html/imports/HTMLImportsController.h" |
45 #include "core/inspector/InspectorInstrumentation.h" | 46 #include "core/inspector/InspectorInstrumentation.h" |
46 #include "core/page/InjectedStyleSheets.h" | 47 #include "core/page/InjectedStyleSheets.h" |
47 #include "core/page/Page.h" | 48 #include "core/page/Page.h" |
48 #include "core/frame/Settings.h" | 49 #include "core/svg/SVGStyleElement.h" |
49 #include "platform/URLPatternMatcher.h" | 50 #include "platform/URLPatternMatcher.h" |
50 | 51 |
51 namespace blink { | 52 namespace blink { |
52 | 53 |
53 using namespace HTMLNames; | 54 using namespace HTMLNames; |
54 | 55 |
55 StyleEngine::StyleEngine(Document& document) | 56 StyleEngine::StyleEngine(Document& document) |
56 : m_document(&document) | 57 : m_document(&document) |
57 , m_isMaster(!document.importsController() || document.importsController()->
master() == &document) | 58 , m_isMaster(!document.importsController() || document.importsController()->
master() == &document) |
58 , m_pendingStylesheets(0) | 59 , m_pendingStylesheets(0) |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 visitor->trace(m_dirtyTreeScopes); | 751 visitor->trace(m_dirtyTreeScopes); |
751 visitor->trace(m_activeTreeScopes); | 752 visitor->trace(m_activeTreeScopes); |
752 visitor->trace(m_fontSelector); | 753 visitor->trace(m_fontSelector); |
753 visitor->trace(m_textToSheetCache); | 754 visitor->trace(m_textToSheetCache); |
754 visitor->trace(m_sheetToTextCache); | 755 visitor->trace(m_sheetToTextCache); |
755 #endif | 756 #endif |
756 CSSFontSelectorClient::trace(visitor); | 757 CSSFontSelectorClient::trace(visitor); |
757 } | 758 } |
758 | 759 |
759 } | 760 } |
OLD | NEW |