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

Side by Side Diff: Source/core/frame/Settings.in

Issue 1196193005: Allow preload scanners to be disabled by Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@minimaster
Patch Set: add unit test Created 5 years, 6 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
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLPreloadScanner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Defines properties which are available on the Settings object. 1 # Defines properties which are available on the Settings object.
2 # 2 #
3 # Please think carefully before adding a new Setting. Some questions to 3 # Please think carefully before adding a new Setting. Some questions to
4 # consider are: 4 # consider are:
5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things 5 # - Should this be a RuntimeEnabledFeature instead? Settings are for things
6 # which we support either values of at runtime. Features are set at renderer 6 # which we support either values of at runtime. Features are set at renderer
7 # process startup and are never changed. Features also tend to be set to a 7 # process startup and are never changed. Features also tend to be set to a
8 # value based on the platform or the stability of the code in question, where 8 # value based on the platform or the stability of the code in question, where
9 # as settings both codepaths need to be stable. 9 # as settings both codepaths need to be stable.
10 # - How will you ensure test coverage of all relevant values of your setting? 10 # - How will you ensure test coverage of all relevant values of your setting?
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 # the image URL. A cached image will still be rendered if requested. 249 # the image URL. A cached image will still be rendered if requested.
250 loadsImagesAutomatically initial=false, invalidate=ImageLoading 250 loadsImagesAutomatically initial=false, invalidate=ImageLoading
251 imagesEnabled initial=true, invalidate=ImageLoading 251 imagesEnabled initial=true, invalidate=ImageLoading
252 imageAnimationPolicy type=ImageAnimationPolicy, initial=ImageAnimationPolicyAllo wed 252 imageAnimationPolicy type=ImageAnimationPolicy, initial=ImageAnimationPolicyAllo wed
253 253
254 # Number of outstanding and pending tokens allowed in the background HTML 254 # Number of outstanding and pending tokens allowed in the background HTML
255 # parser. A value of 0 indicates the parser should use its default value. 255 # parser. A value of 0 indicates the parser should use its default value.
256 backgroundHtmlParserOutstandingTokenLimit type=unsigned, initial=0 256 backgroundHtmlParserOutstandingTokenLimit type=unsigned, initial=0
257 backgroundHtmlParserPendingTokenLimit type=unsigned, initial=0 257 backgroundHtmlParserPendingTokenLimit type=unsigned, initial=0
258 258
259 # Html preload scanning is a fast, early scan of HTML documents to find loadable
260 # resources before the parser advances to them. If it is disabled, resources wil l
261 # be loaded later.
262 doHtmlPreloadScanning initial=true
263
259 javaEnabled initial=false 264 javaEnabled initial=false
260 pluginsEnabled initial=false 265 pluginsEnabled initial=false
261 266
262 viewportEnabled initial=false, invalidate=ViewportDescription 267 viewportEnabled initial=false, invalidate=ViewportDescription
263 viewportMetaEnabled initial=false 268 viewportMetaEnabled initial=false
264 269
265 dnsPrefetchingEnabled initial=false, invalidate=DNSPrefetching 270 dnsPrefetchingEnabled initial=false, invalidate=DNSPrefetching
266 271
267 # FIXME: This is a temporary flag and should be removed 272 # FIXME: This is a temporary flag and should be removed
268 # when squashing is ready. (crbug.com/261605) 273 # when squashing is ready. (crbug.com/261605)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 # User style overrides for captions and subtitles 337 # User style overrides for captions and subtitles
333 textTrackBackgroundColor type=String 338 textTrackBackgroundColor type=String
334 textTrackFontFamily type=String 339 textTrackFontFamily type=String
335 textTrackFontStyle type=String 340 textTrackFontStyle type=String
336 textTrackFontVariant type=String 341 textTrackFontVariant type=String
337 textTrackTextColor type=String 342 textTrackTextColor type=String
338 textTrackTextShadow type=String 343 textTrackTextShadow type=String
339 textTrackTextSize type=String 344 textTrackTextSize type=String
340 345
341 lowPriorityIframes initial=false 346 lowPriorityIframes initial=false
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLPreloadScanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698