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

Unified Diff: Source/WebCore/page/PageGroup.h

Issue 14188004: Remove UserScript support, which is not used by Chromium (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove one more test Created 7 years, 8 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/WebCore/page/Frame.cpp ('k') | Source/WebCore/page/PageGroup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/PageGroup.h
diff --git a/Source/WebCore/page/PageGroup.h b/Source/WebCore/page/PageGroup.h
index 6831dedf759fb64f2354803533f4b132c33760c0..693fd1a4881d75abff19e1f2483e949f85a2773d 100644
--- a/Source/WebCore/page/PageGroup.h
+++ b/Source/WebCore/page/PageGroup.h
@@ -30,7 +30,6 @@
#include <wtf/Noncopyable.h>
#include "LinkHash.h"
#include "Supplementable.h"
-#include "UserScript.h"
#include "UserStyleSheet.h"
#include <wtf/text/StringHash.h>
@@ -87,23 +86,14 @@ namespace WebCore {
StorageNamespace* localStorage();
bool hasLocalStorage() { return m_localStorage; }
- void addUserScriptToWorld(DOMWrapperWorld*, const String& source, const KURL&,
- const Vector<String>& whitelist, const Vector<String>& blacklist,
- UserScriptInjectionTime, UserContentInjectedFrames);
void addUserStyleSheetToWorld(DOMWrapperWorld*, const String& source, const KURL&,
const Vector<String>& whitelist, const Vector<String>& blacklist,
UserContentInjectedFrames,
UserStyleLevel level = UserStyleUserLevel,
UserStyleInjectionTime injectionTime = InjectInExistingDocuments);
- void removeUserScriptFromWorld(DOMWrapperWorld*, const KURL&);
- void removeUserStyleSheetFromWorld(DOMWrapperWorld*, const KURL&);
-
- void removeUserScriptsFromWorld(DOMWrapperWorld*);
- void removeUserStyleSheetsFromWorld(DOMWrapperWorld*);
void removeAllUserContent();
- const UserScriptMap* userScripts() const { return m_userScripts.get(); }
const UserStyleSheetMap* userStyleSheets() const { return m_userStyleSheets.get(); }
GroupSettings* groupSettings() const { return m_groupSettings.get(); }
@@ -129,7 +119,6 @@ namespace WebCore {
unsigned m_identifier;
RefPtr<StorageNamespace> m_localStorage;
- OwnPtr<UserScriptMap> m_userScripts;
OwnPtr<UserStyleSheetMap> m_userStyleSheets;
OwnPtr<GroupSettings> m_groupSettings;
« no previous file with comments | « Source/WebCore/page/Frame.cpp ('k') | Source/WebCore/page/PageGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698