OLD | NEW |
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? |
11 # - Is the default value appropriate for other platforms or ports which may | 11 # - Is the default value appropriate for other platforms or ports which may |
12 # not be aware of your setting? | 12 # not be aware of your setting? |
13 # - Can your setting result in behavior differences observable to web | 13 # - Can your setting result in behavior differences observable to web |
14 # developers? | 14 # developers? |
15 # - Should this setting ideally be removed in the future? If so please file | 15 # - Should this setting ideally be removed in the future? If so please file |
16 # a bug and reference it in the comments for your setting. | 16 # a bug and reference it in the comments for your setting. |
17 # | 17 # |
18 # One reason to add a Setting is to manage the risk associated with adding a | 18 # One reason to add a Setting is to manage the risk associated with adding a |
19 # new feature. For example, we may choose to ship a new UI behavior or | 19 # new feature. For example, we may choose to ship a new UI behavior or |
20 # performance optimization to ChromeOS users first (in order to gather feedback | 20 # performance optimization to ChromeOS users first (in order to gather feedback |
21 # and metrics on its use from the wild) before attempting to ship it to | 21 # and metrics on its use from the wild) before attempting to ship it to |
22 # Windows. | 22 # Windows. |
23 # | 23 # |
24 # FIXME: Add support for global settings. | 24 # FIXME: Add support for global settings. |
25 # FIXME: Add support for custom getters/setters. | 25 # FIXME: Add support for custom getters/setters. |
26 | 26 |
27 defaultTextEncodingName type=String | 27 defaultTextEncodingName type=String |
28 editableLinkBehavior type=EditableLinkBehavior, initial=EditableLinkDefaultBehav
ior | |
29 | 28 |
30 # Do not hide chars typed in password fields immediately, but let the last char
stay | 29 # Do not hide chars typed in password fields immediately, but let the last char
stay |
31 # visible for N seconds, configured by the passwordEchoDurationInSeconds setting | 30 # visible for N seconds, configured by the passwordEchoDurationInSeconds setting |
32 # FIXME: Enable automatically if passwordEchoDurationInSeconds is set to a posit
ive value. | 31 # FIXME: Enable automatically if passwordEchoDurationInSeconds is set to a posit
ive value. |
33 passwordEchoEnabled initial=false | 32 passwordEchoEnabled initial=false |
34 | 33 |
35 # Configure how long the last char should say visible in seconds. | 34 # Configure how long the last char should say visible in seconds. |
36 passwordEchoDurationInSeconds type=double, initial=1 | 35 passwordEchoDurationInSeconds type=double, initial=1 |
37 | 36 |
38 # Sets the magnification value for validation message timer. If the | 37 # Sets the magnification value for validation message timer. If the |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 | 280 |
282 # Clients that execute script should call ScriptController::canExecuteScripts() | 281 # Clients that execute script should call ScriptController::canExecuteScripts() |
283 # instead of this function. ScriptController::canExecuteScripts() checks the | 282 # instead of this function. ScriptController::canExecuteScripts() checks the |
284 # HTML sandbox, plug-in sandboxing, and other important details. | 283 # HTML sandbox, plug-in sandboxing, and other important details. |
285 scriptEnabled initial=false, invalidate=ScriptEnable | 284 scriptEnabled initial=false, invalidate=ScriptEnable |
286 | 285 |
287 # Compensates for poor text legibility on mobile devices. This value is | 286 # Compensates for poor text legibility on mobile devices. This value is |
288 # multiplied by the font scale factor when performing text autosizing of | 287 # multiplied by the font scale factor when performing text autosizing of |
289 # websites that do not set an explicit viewport description. | 288 # websites that do not set an explicit viewport description. |
290 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing | 289 deviceScaleAdjustment type=double, initial=1.0, invalidate=TextAutosizing |
OLD | NEW |