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

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

Issue 1965493002: Add runtime setting to force passive event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 4 years, 7 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
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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 resizeIsDeviceSizeChange initial=false 401 resizeIsDeviceSizeChange initial=false
402 402
403 # Whether the browser process sends gesture events for wheel events. 403 # Whether the browser process sends gesture events for wheel events.
404 # Can be removed when crbug.com/598798 is fixed. 404 # Can be removed when crbug.com/598798 is fixed.
405 wheelGesturesEnabled initial=false 405 wheelGesturesEnabled initial=false
406 406
407 # If set to a positive value, emit a console warning once for each non-passive 407 # If set to a positive value, emit a console warning once for each non-passive
408 # event listener that caused an event to be dispatched to main thread and 408 # event listener that caused an event to be dispatched to main thread and
409 # delayed by more than the specified time (in seconds). 409 # delayed by more than the specified time (in seconds).
410 blockedMainThreadEventsWarningThreshold type=double, initial=0 410 blockedMainThreadEventsWarningThreshold type=double, initial=0
411
412 # Ability to override the default 'passive' value in AddEventListenerOptions. Th is
413 # is useful to demonstrate the power of passive event listeners. This can be rem oved
414 # when there is greater adoption, interventions to force it on and associated de vtools
415 # to enable it have been shipped.
416 passiveListenerDefault type=PassiveListenerDefault, initial=PassiveListenerDefau lt::False
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Settings.h ('k') | third_party/WebKit/Source/web/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698