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

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

Issue 1219063013: Fix virtual/override/final usage in Source/core/dom/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/StringCallback.cpp ('k') | Source/core/dom/TagCollection.h » ('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 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 void classChangedForElement(const SpaceSplitString& changedClasses, Element& ); 175 void classChangedForElement(const SpaceSplitString& changedClasses, Element& );
176 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS plitString& newClasses, Element&); 176 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS plitString& newClasses, Element&);
177 void attributeChangedForElement(const QualifiedName& attributeName, Element& ); 177 void attributeChangedForElement(const QualifiedName& attributeName, Element& );
178 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI d, Element&); 178 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI d, Element&);
179 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&); 179 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&);
180 180
181 DECLARE_VIRTUAL_TRACE(); 181 DECLARE_VIRTUAL_TRACE();
182 182
183 private: 183 private:
184 // CSSFontSelectorClient implementation. 184 // CSSFontSelectorClient implementation.
185 virtual void fontsNeedUpdate(CSSFontSelector*) override; 185 void fontsNeedUpdate(CSSFontSelector*) override;
186 186
187 private: 187 private:
188 StyleEngine(Document&); 188 StyleEngine(Document&);
189 189
190 TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&); 190 TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&);
191 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&); 191 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&);
192 bool shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode) const ; 192 bool shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode) const ;
193 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode) con st; 193 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode) con st;
194 194
195 void markTreeScopeDirty(TreeScope&); 195 void markTreeScopeDirty(TreeScope&);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; 257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector;
258 258
259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te xtToSheetCache; 259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te xtToSheetCache;
260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; 260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache;
261 }; 261 };
262 262
263 } 263 }
264 264
265 #endif 265 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/StringCallback.cpp ('k') | Source/core/dom/TagCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698