chromium/components/policy/resources/templates/policy_definitions/Display/DeviceDisplayResolution.yaml

caption: Set display resolution and scale factor
desc: |-
  Setting the policy sets the resolution and scale factor for each display. External display settings apply to connected displays. (The policy doesn't apply if a display doesn't support the specified resolution or scale.)

        Setting <ph name="EXTERNAL_USE_NATIVE">external_use_native</ph> to True means the policy ignores <ph name="EXTERNAL_WIDTH">external_width</ph> and <ph name="EXTERNAL_HEIGHT">external_height</ph> and sets external displays to their native resolution. Setting <ph name="EXTERNAL_USE_NATIVE">external_use_native</ph> to False or leaving it and <ph name="EXTERNAL_WIDTH">external_width</ph> or <ph name="EXTERNAL_HEIGHT">external_height</ph> unset means the policy doesn't affect external displays.

        Setting the recommended flag to True lets users change resolution and scale factor of any display through the settings page, but their settings change back at the next reboot. Setting the recommended flag to False or leaving it unset means users can't change the display settings.

        Note: Set <ph name="EXTERNAL_WIDTH">external_width</ph> and <ph name="EXTERNAL_HEIGHT">external_height</ph> in pixels and <ph name="EXTERNAL_SCALE_PERCENTAGE">external_scale_percentage</ph> and <ph name="INTERNAL_SCALE_PERCENTAGE">internal_scale_percentage</ph> in percents.
device_only: true
example_value:
  external_height: 1080
  external_scale_percentage: 100
  external_use_native: false
  external_width: 1920
  internal_scale_percentage: 150
  recommended: true
features:
  can_be_recommended: false
  dynamic_refresh: true
  per_profile: false
owners:
- file://components/policy/OWNERS
- [email protected]
schema:
  properties:
    external_height:
      minimum: 1
      type: integer
    external_scale_percentage:
      minimum: 1
      type: integer
    external_use_native:
      type: boolean
    external_width:
      minimum: 1
      type: integer
    internal_scale_percentage:
      minimum: 1
      type: integer
    recommended:
      type: boolean
  type: object
supported_on:
- chrome_os:72-
tags: []
type: dict
generate_device_proto: False