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

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: 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
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 SecurityOrigin::StorageBlockingPolicy m_storageBlockingPolicy; 226 SecurityOrigin::StorageBlockingPolicy m_storageBlockingPolicy;
243 float m_textAutosizingFontScaleFactor; 227 float m_textAutosizingFontScaleFactor;
244 IntSize m_textAutosizingWindowSizeOverride; 228 IntSize m_textAutosizingWindowSizeOverride;
245 bool m_textAutosizingEnabled : 1; 229 bool m_textAutosizingEnabled : 1;
246 IntSize m_resolutionDensityPerInchOverride; 230 IntSize m_resolutionDensityPerInchOverride;
247 231
248 SETTINGS_MEMBER_VARIABLES 232 SETTINGS_MEMBER_VARIABLES
249 233
250 bool m_isJavaEnabled : 1; 234 bool m_isJavaEnabled : 1;
251 bool m_loadsImagesAutomatically : 1; 235 bool m_loadsImagesAutomatically : 1;
252 bool m_privateBrowsingEnabled : 1;
253 bool m_areImagesEnabled : 1; 236 bool m_areImagesEnabled : 1;
254 bool m_arePluginsEnabled : 1; 237 bool m_arePluginsEnabled : 1;
255 bool m_isScriptEnabled : 1; 238 bool m_isScriptEnabled : 1;
256 bool m_usesPageCache : 1; 239 bool m_usesPageCache : 1;
257 unsigned m_fontRenderingMode : 1; 240 unsigned m_fontRenderingMode : 1;
258 bool m_isCSSCustomFilterEnabled : 1; 241 bool m_isCSSCustomFilterEnabled : 1;
259 bool m_cssStickyPositionEnabled : 1; 242 bool m_cssStickyPositionEnabled : 1;
260 bool m_cssVariablesEnabled : 1; 243 bool m_cssVariablesEnabled : 1;
261 bool m_tiledBackingStoreEnabled : 1; 244 bool m_tiledBackingStoreEnabled : 1;
262 bool m_dnsPrefetchingEnabled : 1; 245 bool m_dnsPrefetchingEnabled : 1;
(...skipping 22 matching lines...) Expand all
285 #if USE(SAFARI_THEME) 268 #if USE(SAFARI_THEME)
286 static bool gShouldPaintNativeControls; 269 static bool gShouldPaintNativeControls;
287 #endif 270 #endif
288 271
289 static double gHiddenPageDOMTimerAlignmentInterval; 272 static double gHiddenPageDOMTimerAlignmentInterval;
290 }; 273 };
291 274
292 } // namespace WebCore 275 } // namespace WebCore
293 276
294 #endif // Settings_h 277 #endif // Settings_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698