Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: third_party/WebKit/Source/core/dom/StyleEngine.h

Issue 2554193002: Make sure media query results are re-collected. (Closed)
Patch Set: Rebased Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 99 }
100 CSSStyleSheet* inspectorStyleSheet() const { return m_inspectorStyleSheet; } 100 CSSStyleSheet* inspectorStyleSheet() const { return m_inspectorStyleSheet; }
101 101
102 const HeapVector<Member<CSSStyleSheet>> activeStyleSheetsForInspector() const; 102 const HeapVector<Member<CSSStyleSheet>> activeStyleSheetsForInspector() const;
103 103
104 bool needsActiveStyleUpdate() const; 104 bool needsActiveStyleUpdate() const;
105 void setNeedsActiveStyleUpdate(TreeScope&); 105 void setNeedsActiveStyleUpdate(TreeScope&);
106 void addStyleSheetCandidateNode(Node&); 106 void addStyleSheetCandidateNode(Node&);
107 void removeStyleSheetCandidateNode(Node&, ContainerNode& insertionPoint); 107 void removeStyleSheetCandidateNode(Node&, ContainerNode& insertionPoint);
108 void modifiedStyleSheetCandidateNode(Node&); 108 void modifiedStyleSheetCandidateNode(Node&);
109 void mediaQueriesChangedInScope(TreeScope&);
109 void watchedSelectorsChanged(); 110 void watchedSelectorsChanged();
110 void initialViewportChanged(); 111 void initialViewportChanged();
111 void viewportRulesChanged(); 112 void viewportRulesChanged();
112 void htmlImportAddedOrRemoved(); 113 void htmlImportAddedOrRemoved();
113 114
114 void injectAuthorSheet(StyleSheetContents* authorSheet); 115 void injectAuthorSheet(StyleSheetContents* authorSheet);
115 CSSStyleSheet& ensureInspectorStyleSheet(); 116 CSSStyleSheet& ensureInspectorStyleSheet();
116 RuleSet* watchedSelectorsRuleSet() { 117 RuleSet* watchedSelectorsRuleSet() {
117 return m_globalRuleSet.watchedSelectorsRuleSet(); 118 return m_globalRuleSet.watchedSelectorsRuleSet();
118 } 119 }
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 380
380 std::unique_ptr<StyleResolverStats> m_styleResolverStats; 381 std::unique_ptr<StyleResolverStats> m_styleResolverStats;
381 unsigned m_styleForElementCount = 0; 382 unsigned m_styleForElementCount = 0;
382 383
383 friend class StyleEngineTest; 384 friend class StyleEngineTest;
384 }; 385 };
385 386
386 } // namespace blink 387 } // namespace blink
387 388
388 #endif 389 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698