Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 # policy_templates.json - Metafile for policy templates | 2 # policy_templates.json - Metafile for policy templates |
| 3 # | 3 # |
| 4 # The content of this file is evaluated as a Python expression. | 4 # The content of this file is evaluated as a Python expression. |
| 5 # | 5 # |
| 6 # This file is used as input to generate the following policy templates: | 6 # This file is used as input to generate the following policy templates: |
| 7 # ADM, ADMX+ADML, MCX/plist and html documentation. | 7 # ADM, ADMX+ADML, MCX/plist and html documentation. |
| 8 # | 8 # |
| 9 # Policy templates are user interface definitions or documents about the | 9 # Policy templates are user interface definitions or documents about the |
| 10 # policies that can be used to configure Chrome. Each policy is a name-value | 10 # policies that can be used to configure Chrome. Each policy is a name-value |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 260 'example_value': True, | 260 'example_value': True, |
| 261 'id': 9, | 261 'id': 9, |
| 262 'caption': '''Enable JavaScript''', | 262 'caption': '''Enable JavaScript''', |
| 263 'desc': '''Enables JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chro me</ex></ph> and prevents users from changing this setting. | 263 'desc': '''Enables JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chro me</ex></ph> and prevents users from changing this setting. |
| 264 | 264 |
| 265 If this setting is enabled or not configured, web pages can use JavaScript . | 265 If this setting is enabled or not configured, web pages can use JavaScript . |
| 266 | 266 |
| 267 If this setting is disabled, web pages cannot use JavaScript.''', | 267 If this setting is disabled, web pages cannot use JavaScript.''', |
| 268 }, | 268 }, |
| 269 { | 269 { |
| 270 'name': 'IncognitoEnabled', | 270 'name': 'IncognitoEnabled', |
|
Mattias Nissler (ping if slow)
2011/07/28 11:08:50
You should mark this policy as deprecated.
rustema
2011/07/29 06:49:23
Done.
| |
| 271 'type': 'main', | 271 'type': 'main', |
| 272 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], | 272 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], |
| 273 'features': {'dynamic_refresh': 1}, | 273 'features': {'dynamic_refresh': 1}, |
| 274 'example_value': False, | 274 'example_value': False, |
| 275 'id': 10, | 275 'id': 10, |
| 276 'caption': '''Enable Incognito mode''', | 276 'caption': '''Enable Incognito mode''', |
| 277 'desc': '''Enables Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. | 277 'desc': '''Enables Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. |
| 278 | 278 |
| 279 If this setting is enabled or not configured, users can open web pages in incognito mode. | 279 If this setting is enabled or not configured, users can open web pages in incognito mode. |
| 280 | 280 |
| 281 If this setting is disabled, users cannot open web pages in incognito mode .''', | 281 If this setting is disabled, users cannot open web pages in incognito mode .''', |
| 282 }, | 282 }, |
| 283 { | 283 { |
| 284 'name': 'IncognitoForced', | 284 'name': 'IncognitoModeAvailability', |
| 285 'type': 'main', | 285 'type': 'int-enum', |
| 286 'items': [ | |
| 287 { | |
| 288 'name': 'Enabled', | |
| 289 'value': 0, | |
| 290 'caption': '''Incognito mode available.''' | |
| 291 }, | |
| 292 { | |
| 293 'name': 'Disabled', | |
| 294 'value': 1, | |
| 295 'caption': '''Incognito mode disabled.''' | |
| 296 }, | |
| 297 { | |
| 298 'name': 'Forced', | |
| 299 'value': 2, | |
| 300 'caption': '''Incognito mode forced.''' | |
| 301 }, | |
| 302 ], | |
| 286 'supported_on': ['chrome.*:14-', 'chrome_os:0.14-'], | 303 'supported_on': ['chrome.*:14-', 'chrome_os:0.14-'], |
| 287 'features': {'dynamic_refresh': 1}, | 304 'features': {'dynamic_refresh': 1}, |
| 288 'example_value': False, | 305 'example_value': 1, |
| 289 'id': 93, | 306 'id': 93, |
| 290 'caption': '''Force Incognito mode''', | 307 'caption': '''Incognito mode availability.''', |
| 291 'desc': '''Forces every session into Incognito mode in <ph name="PRODUCT_N AME">$1<ex>Google Chrome</ex></ph>. | 308 'desc': '''Specifies whether the user may open pages in Incognito mode in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. |
| 292 | 309 |
| 293 If this setting is enabled, users can open pages only in incognito mode. | 310 If 'Enabled' is selected, pages may be opened in Incognito mode. |
| 294 | 311 |
| 295 If this setting is disabled or not configured, users can use the browser i n normal mode as well.''', | 312 If 'Disabled' is selected, pages may not be opened in Incognito mode. |
|
Mattias Nissler (ping if slow)
2011/07/28 11:08:50
unneeded newline.
rustema
2011/07/29 06:49:23
It appears to me that display is a bit broken here
| |
| 313 | |
| 314 If 'Forced' is selected, pages may be opened ONLY in Incognito mode.''', | |
| 296 }, | 315 }, |
| 297 { | 316 { |
| 298 'name': 'SavingBrowserHistoryDisabled', | 317 'name': 'SavingBrowserHistoryDisabled', |
| 299 'type': 'main', | 318 'type': 'main', |
| 300 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], | 319 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], |
| 301 'features': {'dynamic_refresh': 1}, | 320 'features': {'dynamic_refresh': 1}, |
| 302 'example_value': True, | 321 'example_value': True, |
| 303 'id': 11, | 322 'id': 11, |
| 304 'caption': '''Disable saving browser history''', | 323 'caption': '''Disable saving browser history''', |
| 305 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing this setting. | 324 'desc': '''Disables saving browser history in <ph name="PRODUCT_NAME">$1<e x>Google Chrome</ex></ph> and prevents users from changing this setting. |
| (...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1745 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', | 1764 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', |
| 1746 'text': '''Dynamic Policy Refresh''' | 1765 'text': '''Dynamic Policy Refresh''' |
| 1747 }, | 1766 }, |
| 1748 'doc_deprecated': { | 1767 'doc_deprecated': { |
| 1749 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', | 1768 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', |
| 1750 'text': 'deprecated', | 1769 'text': 'deprecated', |
| 1751 } | 1770 } |
| 1752 }, | 1771 }, |
| 1753 'placeholders': [], | 1772 'placeholders': [], |
| 1754 } | 1773 } |
| OLD | NEW |