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

Unified Diff: Source/WebCore/dom/Document.cpp

Issue 14142009: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/dom/Document.h ('k') | Source/WebCore/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/Document.cpp
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
index 17dca0fbefdb3ff160e531ef8e766aa86ad542e6..013d55d4b07daadacd9ffda49c6384172740cbd8 100644
--- a/Source/WebCore/dom/Document.cpp
+++ b/Source/WebCore/dom/Document.cpp
@@ -4031,23 +4031,6 @@ void Document::storageBlockingStateDidChange()
securityOrigin()->setStorageBlockingPolicy(settings->storageBlockingPolicy());
}
-void Document::privateBrowsingStateDidChange()
-{
- HashSet<Element*>::iterator end = m_privateBrowsingStateChangedElements.end();
- for (HashSet<Element*>::iterator it = m_privateBrowsingStateChangedElements.begin(); it != end; ++it)
- (*it)->privateBrowsingStateDidChange();
-}
-
-void Document::registerForPrivateBrowsingStateChangedCallbacks(Element* e)
-{
- m_privateBrowsingStateChangedElements.add(e);
-}
-
-void Document::unregisterForPrivateBrowsingStateChangedCallbacks(Element* e)
-{
- m_privateBrowsingStateChangedElements.remove(e);
-}
-
#if ENABLE(VIDEO_TRACK)
void Document::registerForCaptionPreferencesChangedCallbacks(Element* e)
{
@@ -5840,7 +5823,6 @@ void Document::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
info.addMember(m_iconURLs, "iconURLs");
info.addMember(m_documentSuspensionCallbackElements, "documentSuspensionCallbackElements");
info.addMember(m_mediaVolumeCallbackElements, "mediaVolumeCallbackElements");
- info.addMember(m_privateBrowsingStateChangedElements, "privateBrowsingStateChangedElements");
info.addMember(m_elementsByAccessKey, "elementsByAccessKey");
info.addMember(m_eventQueue, "eventQueue");
info.addMember(m_mediaCanStartListeners, "mediaCanStartListeners");
« no previous file with comments | « Source/WebCore/dom/Document.h ('k') | Source/WebCore/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698