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

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

Issue 803133002: Use invalidation sets for fullscreen pseudos. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Load fullscreen.css on demand Created 4 years, 9 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
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 void updateGenericFontFamilySettings(); 155 void updateGenericFontFamilySettings();
156 156
157 void didDetach(); 157 void didDetach();
158 bool shouldClearResolver() const; 158 bool shouldClearResolver() const;
159 void resolverChanged(StyleResolverUpdateMode); 159 void resolverChanged(StyleResolverUpdateMode);
160 160
161 PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& te xt, TextPosition startPosition); 161 PassRefPtrWillBeRawPtr<CSSStyleSheet> createSheet(Element*, const String& te xt, TextPosition startPosition);
162 void removeSheet(StyleSheetContents*); 162 void removeSheet(StyleSheetContents*);
163 163
164 void collectScopedStyleFeaturesTo(RuleFeatureSet&) const; 164 void collectScopedStyleFeaturesTo(RuleFeatureSet&) const;
165 void ensureFullscreenUAStyle();
165 166
166 void platformColorsChanged(); 167 void platformColorsChanged();
167 168
168 void classChangedForElement(const SpaceSplitString& changedClasses, Element& ); 169 void classChangedForElement(const SpaceSplitString& changedClasses, Element& );
169 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS plitString& newClasses, Element&); 170 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS plitString& newClasses, Element&);
170 void attributeChangedForElement(const QualifiedName& attributeName, Element& ); 171 void attributeChangedForElement(const QualifiedName& attributeName, Element& );
171 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI d, Element&); 172 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI d, Element&);
172 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&); 173 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&);
173 174
174 unsigned styleForElementCount() const { return m_styleForElementCount; } 175 unsigned styleForElementCount() const { return m_styleForElementCount; }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 262
262 OwnPtr<StyleResolverStats> m_styleResolverStats; 263 OwnPtr<StyleResolverStats> m_styleResolverStats;
263 unsigned m_styleForElementCount = 0; 264 unsigned m_styleForElementCount = 0;
264 265
265 friend class StyleEngineTest; 266 friend class StyleEngineTest;
266 }; 267 };
267 268
268 } // namespace blink 269 } // namespace blink
269 270
270 #endif 271 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.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