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

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

Issue 2254443002: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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
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 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 void platformColorsChanged(); 169 void platformColorsChanged();
170 170
171 void classChangedForElement(const SpaceSplitString& changedClasses, Element& ); 171 void classChangedForElement(const SpaceSplitString& changedClasses, Element& );
172 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS plitString& newClasses, Element&); 172 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS plitString& newClasses, Element&);
173 void attributeChangedForElement(const QualifiedName& attributeName, Element& ); 173 void attributeChangedForElement(const QualifiedName& attributeName, Element& );
174 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI d, Element&); 174 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI d, Element&);
175 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&); 175 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&);
176 void scheduleSiblingInvalidationsForElement(Element&, ContainerNode& schedul ingParent, unsigned minDirectAdjacent); 176 void scheduleSiblingInvalidationsForElement(Element&, ContainerNode& schedul ingParent, unsigned minDirectAdjacent);
177 void scheduleInvalidationsForInsertedSibling(Element* beforeElement, Element & insertedElement); 177 void scheduleInvalidationsForInsertedSibling(Element* beforeElement, Element & insertedElement);
178 void scheduleInvalidationsForRemovedSibling(Element* beforeElement, Element& removedElement, Element& afterElement); 178 void scheduleInvalidationsForRemovedSibling(Element* beforeElement, Element& removedElement, Element& afterElement);
179 void scheduleNthPseudoInvalidations(ContainerNode&);
180
181 unsigned styleForElementCount() const { return m_styleForElementCount; } 179 unsigned styleForElementCount() const { return m_styleForElementCount; }
182 void incStyleForElementCount() { m_styleForElementCount++; } 180 void incStyleForElementCount() { m_styleForElementCount++; }
183 181
184 StyleResolverStats* stats() { return m_styleResolverStats.get(); } 182 StyleResolverStats* stats() { return m_styleResolverStats.get(); }
185 void setStatsEnabled(bool); 183 void setStatsEnabled(bool);
186 184
187 DECLARE_VIRTUAL_TRACE(); 185 DECLARE_VIRTUAL_TRACE();
188 186
189 DECLARE_TRACE_WRAPPERS(); 187 DECLARE_TRACE_WRAPPERS();
190 188
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 271
274 std::unique_ptr<StyleResolverStats> m_styleResolverStats; 272 std::unique_ptr<StyleResolverStats> m_styleResolverStats;
275 unsigned m_styleForElementCount = 0; 273 unsigned m_styleForElementCount = 0;
276 274
277 friend class StyleEngineTest; 275 friend class StyleEngineTest;
278 }; 276 };
279 277
280 } // namespace blink 278 } // namespace blink
281 279
282 #endif 280 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698