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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
7 * rights reserved. | 7 * rights reserved. |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 injectedAuthorStyleSheets() const { | 98 injectedAuthorStyleSheets() const { |
99 return m_injectedAuthorStyleSheets; | 99 return m_injectedAuthorStyleSheets; |
100 } | 100 } |
101 CSSStyleSheet* inspectorStyleSheet() const { return m_inspectorStyleSheet; } | 101 CSSStyleSheet* inspectorStyleSheet() const { return m_inspectorStyleSheet; } |
102 | 102 |
103 const HeapVector<Member<CSSStyleSheet>> activeStyleSheetsForInspector() const; | 103 const HeapVector<Member<CSSStyleSheet>> activeStyleSheetsForInspector() const; |
104 | 104 |
105 bool needsActiveStyleUpdate() const; | 105 bool needsActiveStyleUpdate() const; |
106 void setNeedsActiveStyleUpdate(StyleSheet*, StyleResolverUpdateMode); | 106 void setNeedsActiveStyleUpdate(StyleSheet*, StyleResolverUpdateMode); |
107 void addStyleSheetCandidateNode(Node&); | 107 void addStyleSheetCandidateNode(Node&); |
108 void removeStyleSheetCandidateNode(Node&); | 108 void removeStyleSheetCandidateNode(Node&, ContainerNode& insertionPoint); |
109 void removeStyleSheetCandidateNode(Node&, TreeScope&); | |
110 void modifiedStyleSheetCandidateNode(Node&); | 109 void modifiedStyleSheetCandidateNode(Node&); |
111 void watchedSelectorsChanged(); | 110 void watchedSelectorsChanged(); |
112 void initialViewportChanged(); | 111 void initialViewportChanged(); |
113 void viewportRulesChanged(); | 112 void viewportRulesChanged(); |
114 void htmlImportAddedOrRemoved(); | 113 void htmlImportAddedOrRemoved(); |
115 | 114 |
116 void injectAuthorSheet(StyleSheetContents* authorSheet); | 115 void injectAuthorSheet(StyleSheetContents* authorSheet); |
117 CSSStyleSheet& ensureInspectorStyleSheet(); | 116 CSSStyleSheet& ensureInspectorStyleSheet(); |
118 RuleSet* watchedSelectorsRuleSet() { | 117 RuleSet* watchedSelectorsRuleSet() { |
119 return m_globalRuleSet.watchedSelectorsRuleSet(); | 118 return m_globalRuleSet.watchedSelectorsRuleSet(); |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 | 380 |
382 std::unique_ptr<StyleResolverStats> m_styleResolverStats; | 381 std::unique_ptr<StyleResolverStats> m_styleResolverStats; |
383 unsigned m_styleForElementCount = 0; | 382 unsigned m_styleForElementCount = 0; |
384 | 383 |
385 friend class StyleEngineTest; | 384 friend class StyleEngineTest; |
386 }; | 385 }; |
387 | 386 |
388 } // namespace blink | 387 } // namespace blink |
389 | 388 |
390 #endif | 389 #endif |
OLD | NEW |