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

Side by Side Diff: Tools/DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp

Issue 14495004: Remove left-over PageCache stuff (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
« no previous file with comments | « Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp ('k') | no next file » | 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 javaScriptCanOpenWindowsAutomatically = true; 89 javaScriptCanOpenWindowsAutomatically = true;
90 supportsMultipleWindows = true; 90 supportsMultipleWindows = true;
91 javaScriptEnabled = true; 91 javaScriptEnabled = true;
92 loadsImagesAutomatically = true; 92 loadsImagesAutomatically = true;
93 localStorageEnabled = true; 93 localStorageEnabled = true;
94 offlineWebApplicationCacheEnabled = true; 94 offlineWebApplicationCacheEnabled = true;
95 pluginsEnabled = true; 95 pluginsEnabled = true;
96 shrinksStandaloneImagesToFit = false; 96 shrinksStandaloneImagesToFit = false;
97 textAreasAreResizable = true; 97 textAreasAreResizable = true;
98 userStyleSheetLocation = WebURL(); 98 userStyleSheetLocation = WebURL();
99 usesPageCache = false;
100 pageCacheSupportsPlugins = false;
101 webSecurityEnabled = true; 99 webSecurityEnabled = true;
102 caretBrowsingEnabled = false; 100 caretBrowsingEnabled = false;
103 101
104 // Allow those layout tests running as local files, i.e. under 102 // Allow those layout tests running as local files, i.e. under
105 // LayoutTests/http/tests/local, to access http server. 103 // LayoutTests/http/tests/local, to access http server.
106 allowUniversalAccessFromFileURLs = true; 104 allowUniversalAccessFromFileURLs = true;
107 105
108 #ifdef __APPLE__ 106 #ifdef __APPLE__
109 editingBehavior = WebSettings::EditingBehaviorMac; 107 editingBehavior = WebSettings::EditingBehaviorMac;
110 #else 108 #else
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 settings->setJavaScriptCanOpenWindowsAutomatically(javaScriptCanOpenWindowsA utomatically); 159 settings->setJavaScriptCanOpenWindowsAutomatically(javaScriptCanOpenWindowsA utomatically);
162 settings->setSupportsMultipleWindows(supportsMultipleWindows); 160 settings->setSupportsMultipleWindows(supportsMultipleWindows);
163 settings->setJavaScriptEnabled(javaScriptEnabled); 161 settings->setJavaScriptEnabled(javaScriptEnabled);
164 settings->setLoadsImagesAutomatically(loadsImagesAutomatically); 162 settings->setLoadsImagesAutomatically(loadsImagesAutomatically);
165 settings->setLocalStorageEnabled(localStorageEnabled); 163 settings->setLocalStorageEnabled(localStorageEnabled);
166 settings->setOfflineWebApplicationCacheEnabled(offlineWebApplicationCacheEna bled); 164 settings->setOfflineWebApplicationCacheEnabled(offlineWebApplicationCacheEna bled);
167 settings->setPluginsEnabled(pluginsEnabled); 165 settings->setPluginsEnabled(pluginsEnabled);
168 settings->setShrinksStandaloneImagesToFit(shrinksStandaloneImagesToFit); 166 settings->setShrinksStandaloneImagesToFit(shrinksStandaloneImagesToFit);
169 settings->setTextAreasAreResizable(textAreasAreResizable); 167 settings->setTextAreasAreResizable(textAreasAreResizable);
170 settings->setUserStyleSheetLocation(userStyleSheetLocation); 168 settings->setUserStyleSheetLocation(userStyleSheetLocation);
171 settings->setUsesPageCache(usesPageCache);
172 settings->setPageCacheSupportsPlugins(pageCacheSupportsPlugins);
173 settings->setWebSecurityEnabled(webSecurityEnabled); 169 settings->setWebSecurityEnabled(webSecurityEnabled);
174 settings->setAllowUniversalAccessFromFileURLs(allowUniversalAccessFromFileUR Ls); 170 settings->setAllowUniversalAccessFromFileURLs(allowUniversalAccessFromFileUR Ls);
175 settings->setEditingBehavior(editingBehavior); 171 settings->setEditingBehavior(editingBehavior);
176 settings->setHyperlinkAuditingEnabled(hyperlinkAuditingEnabled); 172 settings->setHyperlinkAuditingEnabled(hyperlinkAuditingEnabled);
177 // LayoutTests were written with Safari Mac in mind which does not allow 173 // LayoutTests were written with Safari Mac in mind which does not allow
178 // tabbing to links by default. 174 // tabbing to links by default.
179 webView->setTabsToLinks(tabsToLinks); 175 webView->setTabsToLinks(tabsToLinks);
180 settings->setCaretBrowsingEnabled(caretBrowsingEnabled); 176 settings->setCaretBrowsingEnabled(caretBrowsingEnabled);
181 settings->setAcceleratedCompositingEnabled(acceleratedCompositingEnabled); 177 settings->setAcceleratedCompositingEnabled(acceleratedCompositingEnabled);
182 settings->setAcceleratedCompositingForVideoEnabled(acceleratedCompositingFor VideoEnabled); 178 settings->setAcceleratedCompositingForVideoEnabled(acceleratedCompositingFor VideoEnabled);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 settings->setPasswordEchoEnabled(false); 210 settings->setPasswordEchoEnabled(false);
215 settings->setSmartInsertDeleteEnabled(true); 211 settings->setSmartInsertDeleteEnabled(true);
216 #ifdef WIN32 212 #ifdef WIN32
217 settings->setSelectTrailingWhitespaceEnabled(true); 213 settings->setSelectTrailingWhitespaceEnabled(true);
218 #else 214 #else
219 settings->setSelectTrailingWhitespaceEnabled(false); 215 settings->setSelectTrailingWhitespaceEnabled(false);
220 #endif 216 #endif
221 } 217 }
222 218
223 } 219 }
OLDNEW
« no previous file with comments | « Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698