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

Side by Side Diff: chrome/app/policy/policy_templates.json

Issue 5398001: Allow default desktop content settings to be managed via policy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Cocoa UI-changes Created 10 years 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
OLDNEW
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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 'type': 'list', 499 'type': 'list',
500 'supported_on': ['chrome.*:8-'], 500 'supported_on': ['chrome.*:8-'],
501 'annotations': { 501 'annotations': {
502 'features': {'dynamic_refresh': 1}, 502 'features': {'dynamic_refresh': 1},
503 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1'] 503 'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1']
504 } 504 }
505 }, 505 },
506 ] 506 ]
507 }, 507 },
508 { 508 {
509 'name': 'ContentSettings',
510 'type': 'group',
511 'policies': [
512 {
513 'name': 'DefaultCookiesSetting',
514 'type': 'enum',
515 'items': [
516 {'name': 'AllowCookies', 'value': '0'},
517 {'name': 'BlockCookies', 'value': '1'},
518 ],
519 'supported_on': ['chrome.*:10-'],
520 'annotations': {
521 'features': {'dynamic_refresh': 1},
522 'example_value': 0,
523 }
524 },
525 {
526 'name': 'DefaultImagesSetting',
527 'type': 'enum',
528 'items': [
529 {'name': 'AllowImages', 'value': '0'},
530 {'name': 'BlockImages', 'value': '1'},
531 ],
532 'supported_on': ['chrome.*:10-'],
533 'annotations': {
534 'features': {'dynamic_refresh': 1},
535 'example_value': 0,
536 }
537 },
538 {
539 'name': 'DefaultJavaScriptSetting',
540 'type': 'enum',
541 'items': [
542 {'name': 'AllowJavaScript', 'value': '0'},
543 {'name': 'BlockJavaScript', 'value': '1'},
544 ],
545 'supported_on': ['chrome.*:10-'],
546 'annotations': {
547 'features': {'dynamic_refresh': 1},
548 'example_value': 0,
549 }
550 },
551 {
552 'name': 'DefaultPluginsSetting',
553 'type': 'enum',
554 'items': [
555 {'name': 'AllowPlugins', 'value': '0'},
556 {'name': 'BlockPlugins', 'value': '1'},
557 ],
558 'supported_on': ['chrome.*:10-'],
559 'annotations': {
560 'features': {'dynamic_refresh': 1},
561 'example_value': 0,
562 }
563 },
564 {
565 'name': 'DefaultPopupsSetting',
566 'type': 'enum',
567 'items': [
568 {'name': 'AllowPopups', 'value': '0'},
569 {'name': 'BlockPopups', 'value': '1'},
570 ],
571 'supported_on': ['chrome.*:10-'],
572 'annotations': {
573 'features': {'dynamic_refresh': 1},
574 'example_value': 1,
575 }
576 },
577 {
578 'name': 'DefaultNotificationSetting',
579 'type': 'enum',
580 'items': [
581 {'name': 'AllowNotifications', 'value': '0'},
582 {'name': 'BlockNotifications', 'value': '1'},
583 {'name': 'AskNotifications', 'value': '2'},
584 ],
585 'supported_on': ['chrome.*:10-'],
586 'annotations': {
587 'features': {'dynamic_refresh': 1},
588 'example_value': 2,
589 }
590 },
591 {
592 'name': 'DefaultGeolocationSetting',
593 'type': 'enum',
594 'items': [
595 {'name': 'AllowGeolocation', 'value': '0'},
596 {'name': 'BlockGeolocation', 'value': '1'},
597 {'name': 'AskGeolocation', 'value': '2'},
598 ],
599 'supported_on': ['chrome.*:10-'],
600 'annotations': {
601 'features': {'dynamic_refresh': 1},
602 'example_value': 0,
603 }
604 },
605 ]
606 },
607 {
509 'name': 'ChromeFrameRendererSettings', 608 'name': 'ChromeFrameRendererSettings',
510 'type': 'group', 609 'type': 'group',
511 'policies': [{ 610 'policies': [{
512 'name': 'ChromeFrameRendererSettings', 611 'name': 'ChromeFrameRendererSettings',
513 'type': 'enum', 612 'type': 'enum',
514 'items': [ 613 'items': [
515 {'name': 'RenderInHost', 'value': '0'}, 614 {'name': 'RenderInHost', 'value': '0'},
516 {'name': 'RenderInChromeFrame', 'value': '1'}, 615 {'name': 'RenderInChromeFrame', 'value': '1'},
517 ], 616 ],
518 'supported_on': ['chrome_frame:8-'], 617 'supported_on': ['chrome_frame:8-'],
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 { 670 {
572 'key': '$4', 671 'key': '$4',
573 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started' 672 'value': 'http://www.chromium.org/developers/how-tos/chrome-frame-getting- started'
574 }, 673 },
575 { 674 {
576 'key': '$5', 675 'key': '$5',
577 'value': 'http://www.chromium.org/administrators/policy-templates' 676 'value': 'http://www.chromium.org/administrators/policy-templates'
578 }, 677 },
579 ] 678 ]
580 } 679 }
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.grd ('k') | chrome/browser/dom_ui/options/content_settings_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698