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

Unified Diff: Source/core/dom/StyleEngine.h

Issue 23516012: Rename StyleSheetCollections to StyleEngine. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/StyleElement.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StyleEngine.h
diff --git a/Source/core/dom/StyleSheetCollections.h b/Source/core/dom/StyleEngine.h
similarity index 95%
rename from Source/core/dom/StyleSheetCollections.h
rename to Source/core/dom/StyleEngine.h
index 978d1b0a8b466a32d87d42eb91846a389dc9a16b..98d2bae50ff62ff1137c7a82b1bee02261b41032 100644
--- a/Source/core/dom/StyleSheetCollections.h
+++ b/Source/core/dom/StyleEngine.h
@@ -25,8 +25,8 @@
*
*/
-#ifndef StyleSheetCollections_h
-#define StyleSheetCollections_h
+#ifndef StyleEngine_h
+#define StyleEngine_h
#include "core/dom/Document.h"
#include "core/dom/DocumentOrderedList.h"
@@ -48,12 +48,12 @@ class StyleSheetCollection;
class StyleSheetContents;
class StyleSheetList;
-class StyleSheetCollections {
+class StyleEngine {
WTF_MAKE_FAST_ALLOCATED;
public:
- static PassOwnPtr<StyleSheetCollections> create(Document& document) { return adoptPtr(new StyleSheetCollections(document)); }
+ static PassOwnPtr<StyleEngine> create(Document& document) { return adoptPtr(new StyleEngine(document)); }
- ~StyleSheetCollections();
+ ~StyleEngine();
const Vector<RefPtr<StyleSheet> >& styleSheetsForStyleSheetList();
const Vector<RefPtr<CSSStyleSheet> >& activeAuthorStyleSheets() const;
@@ -112,7 +112,7 @@ public:
void getActiveAuthorStyleSheets(Vector<const Vector<RefPtr<CSSStyleSheet> >*>& activeAuthorStyleSheets) const;
private:
- StyleSheetCollections(Document&);
+ StyleEngine(Document&);
StyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&);
StyleSheetCollection* styleSheetCollectionFor(TreeScope&);
« no previous file with comments | « Source/core/dom/StyleElement.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698