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

Unified Diff: Source/WebCore/page/Settings.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/Settings.h ('k') | Source/WebCore/platform/SchemeRegistry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/Settings.cpp
diff --git a/Source/WebCore/page/Settings.cpp b/Source/WebCore/page/Settings.cpp
index d0a49e4ff13506c82c0f942a02c10c10f93bee23..c4c67ccc408f6b1b73949dbfc44ba7d431d92ac4 100644
--- a/Source/WebCore/page/Settings.cpp
+++ b/Source/WebCore/page/Settings.cpp
@@ -148,7 +148,6 @@ Settings::Settings(Page* page)
SETTINGS_INITIALIZER_LIST
, m_isJavaEnabled(false)
, m_loadsImagesAutomatically(false)
- , m_privateBrowsingEnabled(false)
, m_areImagesEnabled(true)
, m_arePluginsEnabled(false)
, m_isScriptEnabled(false)
@@ -364,15 +363,6 @@ void Settings::setPluginsEnabled(bool arePluginsEnabled)
m_arePluginsEnabled = arePluginsEnabled;
}
-void Settings::setPrivateBrowsingEnabled(bool privateBrowsingEnabled)
-{
- if (m_privateBrowsingEnabled == privateBrowsingEnabled)
- return;
-
- m_privateBrowsingEnabled = privateBrowsingEnabled;
- m_page->privateBrowsingStateChanged();
-}
-
void Settings::setUserStyleSheetLocation(const KURL& userStyleSheetLocation)
{
if (m_userStyleSheetLocation == userStyleSheetLocation)
« no previous file with comments | « Source/WebCore/page/Settings.h ('k') | Source/WebCore/platform/SchemeRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698