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

Unified Diff: Source/WebCore/page/Page.cpp

Issue 13861033: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Repatch to ToT 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/Page.h ('k') | Source/WebCore/page/PageConsole.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/Page.cpp
diff --git a/Source/WebCore/page/Page.cpp b/Source/WebCore/page/Page.cpp
index 908b43585b994286ed819bcfc9ed50a0e9e88478..51ebc57cfe32c4abd618dfa56516e9604ebcc254 100644
--- a/Source/WebCore/page/Page.cpp
+++ b/Source/WebCore/page/Page.cpp
@@ -987,22 +987,6 @@ void Page::storageBlockingStateChanged()
pluginViewBases[i]->storageBlockingStateChanged();
}
-void Page::privateBrowsingStateChanged()
-{
- bool privateBrowsingEnabled = m_settings->privateBrowsingEnabled();
-
- for (Frame* frame = mainFrame(); frame; frame = frame->tree()->traverseNext())
- frame->document()->privateBrowsingStateDidChange();
-
- // Collect the PluginViews in to a vector to ensure that action the plug-in takes
- // from below privateBrowsingStateChanged does not affect their lifetime.
- Vector<RefPtr<PluginViewBase>, 32> pluginViewBases;
- collectPluginViews(pluginViewBases);
-
- for (size_t i = 0; i < pluginViewBases.size(); ++i)
- pluginViewBases[i]->privateBrowsingStateChanged(privateBrowsingEnabled);
-}
-
#if !ASSERT_DISABLED
void Page::checkSubframeCountConsistency() const
{
« no previous file with comments | « Source/WebCore/page/Page.h ('k') | Source/WebCore/page/PageConsole.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698