Index: Source/core/page/PageGroup.h |
diff --git a/Source/core/page/PageGroup.h b/Source/core/page/PageGroup.h |
index c10f83a4b4b7bb1b94c4b8ece0711bc8ba31fcb9..3d38f1914ab0e0a43323cfccfa7566e630c203d0 100644 |
--- a/Source/core/page/PageGroup.h |
+++ b/Source/core/page/PageGroup.h |
@@ -26,7 +26,7 @@ |
#ifndef PageGroup_h |
#define PageGroup_h |
-#include "core/page/UserStyleSheet.h" |
+#include "core/page/InjectedStyleSheet.h" |
#include "core/platform/Supplementable.h" |
#include "wtf/HashSet.h" |
#include "wtf/Noncopyable.h" |
@@ -53,15 +53,10 @@ namespace WebCore { |
void addPage(Page*); |
void removePage(Page*); |
- void addUserStyleSheet(const String& source, const KURL&, |
- const Vector<String>& whitelist, const Vector<String>& blacklist, |
- UserContentInjectedFrames, |
- UserStyleLevel level = UserStyleUserLevel, |
- UserStyleInjectionTime injectionTime = InjectInExistingDocuments); |
+ void injectStyleSheet(const String& source, const Vector<String>& whitelist, StyleInjectionTarget); |
+ void removeInjectedStyleSheets(); |
- void removeAllUserContent(); |
- |
- const UserStyleSheetVector& userStyleSheets() const { return m_userStyleSheets; } |
+ const InjectedStyleSheetVector& injectedStyleSheets() const { return m_injectedStyleSheets; } |
private: |
PageGroup(); |
@@ -69,7 +64,7 @@ namespace WebCore { |
void invalidatedInjectedStyleSheetCacheInAllFrames(); |
HashSet<Page*> m_pages; |
- UserStyleSheetVector m_userStyleSheets; |
+ InjectedStyleSheetVector m_injectedStyleSheets; |
}; |
} // namespace WebCore |