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

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

Issue 143463011: [import] support document.stylesheets in imported documents. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing Created 6 years, 11 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/StyleSheetCandidate.cpp ('k') | Source/core/dom/StyleSheetCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StyleSheetCollection.h
diff --git a/Source/core/dom/StyleSheetCollection.h b/Source/core/dom/StyleSheetCollection.h
index eddab7c451539ced7b86d4ea8deb640796cd6471..e181fec6ba36672aa91be6fdc8530a8ebc71d495 100644
--- a/Source/core/dom/StyleSheetCollection.h
+++ b/Source/core/dom/StyleSheetCollection.h
@@ -43,6 +43,7 @@ namespace WebCore {
class ContainerNode;
class CSSStyleSheet;
+class DocumentStyleSheetCollector;
class StyleEngine;
class Node;
class StyleSheet;
@@ -56,6 +57,9 @@ class StyleSheetList;
class StyleSheetCollectionBase {
WTF_MAKE_NONCOPYABLE(StyleSheetCollectionBase); WTF_MAKE_FAST_ALLOCATED;
public:
+ friend class ActiveDocumentStyleSheetCollector;
+ friend class ImportedDocumentStyleSheetCollector;
+
StyleSheetCollectionBase();
~StyleSheetCollectionBase();
@@ -65,6 +69,7 @@ public:
const Vector<RefPtr<StyleSheet> >& styleSheetsForStyleSheetList() const { return m_styleSheetsForStyleSheetList; }
void swap(StyleSheetCollectionBase&);
+ void swapSheetsForSheetList(Vector<RefPtr<StyleSheet> >&);
void appendActiveStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&);
void appendActiveStyleSheet(CSSStyleSheet*);
void appendSheetForList(StyleSheet*);
« no previous file with comments | « Source/core/dom/StyleSheetCandidate.cpp ('k') | Source/core/dom/StyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698