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

Side by Side Diff: Source/WebCore/page/Settings.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/page/PageConsole.cpp ('k') | Source/WebCore/page/Settings.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved.
3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 void setJavaEnabled(bool); 128 void setJavaEnabled(bool);
129 bool isJavaEnabled() const { return m_isJavaEnabled; } 129 bool isJavaEnabled() const { return m_isJavaEnabled; }
130 130
131 void setImagesEnabled(bool); 131 void setImagesEnabled(bool);
132 bool areImagesEnabled() const { return m_areImagesEnabled; } 132 bool areImagesEnabled() const { return m_areImagesEnabled; }
133 133
134 void setPluginsEnabled(bool); 134 void setPluginsEnabled(bool);
135 bool arePluginsEnabled() const { return m_arePluginsEnabled; } 135 bool arePluginsEnabled() const { return m_arePluginsEnabled; }
136 136
137 // When this option is set, WebCore will avoid storing any record of bro wsing activity
138 // that may persist on disk or remain displayed when the option is reset .
139 // This option does not affect the storage of such information in RAM.
140 // The following functions respect this setting:
141 // - HTML5/DOM Storage
142 // - Icon Database
143 // - Console Messages
144 // - MemoryCache
145 // - Application Cache
146 // - Back/Forward Page History
147 // - Page Search Results
148 // - HTTP Cookies
149 // - Plug-ins (that support NPNVprivateModeBool)
150 void setPrivateBrowsingEnabled(bool);
151 bool privateBrowsingEnabled() const { return m_privateBrowsingEnabled; }
152
153 void setDNSPrefetchingEnabled(bool); 137 void setDNSPrefetchingEnabled(bool);
154 bool dnsPrefetchingEnabled() const { return m_dnsPrefetchingEnabled; } 138 bool dnsPrefetchingEnabled() const { return m_dnsPrefetchingEnabled; }
155 139
156 void setUserStyleSheetLocation(const KURL&); 140 void setUserStyleSheetLocation(const KURL&);
157 const KURL& userStyleSheetLocation() const { return m_userStyleSheetLoca tion; } 141 const KURL& userStyleSheetLocation() const { return m_userStyleSheetLoca tion; }
158 142
159 static void setDefaultMinDOMTimerInterval(double); // Interval specified in seconds. 143 static void setDefaultMinDOMTimerInterval(double); // Interval specified in seconds.
160 static double defaultMinDOMTimerInterval(); 144 static double defaultMinDOMTimerInterval();
161 145
162 static void setHiddenPageDOMTimerAlignmentInterval(double); // Interval specified in seconds. 146 static void setHiddenPageDOMTimerAlignmentInterval(double); // Interval specified in seconds.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 SecurityOrigin::StorageBlockingPolicy m_storageBlockingPolicy; 220 SecurityOrigin::StorageBlockingPolicy m_storageBlockingPolicy;
237 float m_textAutosizingFontScaleFactor; 221 float m_textAutosizingFontScaleFactor;
238 IntSize m_textAutosizingWindowSizeOverride; 222 IntSize m_textAutosizingWindowSizeOverride;
239 bool m_textAutosizingEnabled : 1; 223 bool m_textAutosizingEnabled : 1;
240 IntSize m_resolutionDensityPerInchOverride; 224 IntSize m_resolutionDensityPerInchOverride;
241 225
242 SETTINGS_MEMBER_VARIABLES 226 SETTINGS_MEMBER_VARIABLES
243 227
244 bool m_isJavaEnabled : 1; 228 bool m_isJavaEnabled : 1;
245 bool m_loadsImagesAutomatically : 1; 229 bool m_loadsImagesAutomatically : 1;
246 bool m_privateBrowsingEnabled : 1;
247 bool m_areImagesEnabled : 1; 230 bool m_areImagesEnabled : 1;
248 bool m_arePluginsEnabled : 1; 231 bool m_arePluginsEnabled : 1;
249 bool m_isScriptEnabled : 1; 232 bool m_isScriptEnabled : 1;
250 bool m_usesPageCache : 1; 233 bool m_usesPageCache : 1;
251 unsigned m_fontRenderingMode : 1; 234 unsigned m_fontRenderingMode : 1;
252 bool m_isCSSCustomFilterEnabled : 1; 235 bool m_isCSSCustomFilterEnabled : 1;
253 bool m_cssStickyPositionEnabled : 1; 236 bool m_cssStickyPositionEnabled : 1;
254 bool m_cssVariablesEnabled : 1; 237 bool m_cssVariablesEnabled : 1;
255 bool m_tiledBackingStoreEnabled : 1; 238 bool m_tiledBackingStoreEnabled : 1;
256 bool m_dnsPrefetchingEnabled : 1; 239 bool m_dnsPrefetchingEnabled : 1;
(...skipping 19 matching lines...) Expand all
276 #if USE(SAFARI_THEME) 259 #if USE(SAFARI_THEME)
277 static bool gShouldPaintNativeControls; 260 static bool gShouldPaintNativeControls;
278 #endif 261 #endif
279 262
280 static double gHiddenPageDOMTimerAlignmentInterval; 263 static double gHiddenPageDOMTimerAlignmentInterval;
281 }; 264 };
282 265
283 } // namespace WebCore 266 } // namespace WebCore
284 267
285 #endif // Settings_h 268 #endif // Settings_h
OLDNEW
« no previous file with comments | « Source/WebCore/page/PageConsole.cpp ('k') | Source/WebCore/page/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698