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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 DCHECK(IsMaster()); | 118 DCHECK(IsMaster()); |
119 DCHECK(global_rule_set_); | 119 DCHECK(global_rule_set_); |
120 return global_rule_set_->WatchedSelectorsRuleSet(); | 120 return global_rule_set_->WatchedSelectorsRuleSet(); |
121 } | 121 } |
122 bool HasStyleSheets() const { | 122 bool HasStyleSheets() const { |
123 return GetDocumentStyleSheetCollection().HasStyleSheets(); | 123 return GetDocumentStyleSheetCollection().HasStyleSheets(); |
124 } | 124 } |
125 | 125 |
126 RuleSet* RuleSetForSheet(CSSStyleSheet&); | 126 RuleSet* RuleSetForSheet(CSSStyleSheet&); |
127 void MediaQueryAffectingValueChanged(); | 127 void MediaQueryAffectingValueChanged(); |
128 void UpdateStyleSheetsInImport(StyleEngine& master_engine, | 128 void UpdateActiveStyleSheetsInImport( |
129 DocumentStyleSheetCollector& parent_collector); | 129 StyleEngine& master_engine, |
| 130 DocumentStyleSheetCollector& parent_collector); |
130 void UpdateActiveStyle(); | 131 void UpdateActiveStyle(); |
131 void MarkAllTreeScopesDirty() { all_tree_scopes_dirty_ = true; } | 132 void MarkAllTreeScopesDirty() { all_tree_scopes_dirty_ = true; } |
132 | 133 |
133 String PreferredStylesheetSetName() const { | 134 String PreferredStylesheetSetName() const { |
134 return preferred_stylesheet_set_name_; | 135 return preferred_stylesheet_set_name_; |
135 } | 136 } |
136 String SelectedStylesheetSetName() const { | 137 String SelectedStylesheetSetName() const { |
137 return selected_stylesheet_set_name_; | 138 return selected_stylesheet_set_name_; |
138 } | 139 } |
139 void SetPreferredStylesheetSetNameIfNotSet(const String&); | 140 void SetPreferredStylesheetSetNameIfNotSet(const String&); |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 | 396 |
396 std::unique_ptr<StyleResolverStats> style_resolver_stats_; | 397 std::unique_ptr<StyleResolverStats> style_resolver_stats_; |
397 unsigned style_for_element_count_ = 0; | 398 unsigned style_for_element_count_ = 0; |
398 | 399 |
399 friend class StyleEngineTest; | 400 friend class StyleEngineTest; |
400 }; | 401 }; |
401 | 402 |
402 } // namespace blink | 403 } // namespace blink |
403 | 404 |
404 #endif | 405 #endif |
OLD | NEW |