Skip to content
Commit 556554a1 authored by Osama Fathy's avatar Osama Fathy Committed by Chromium LUCI CQ
Browse files

[OOBE][CHOOBE] Add zoom slider to display size screen

- Add the zoom slider to the display size screen.
- This change intoduces a slider with a tick for each valid zoom
factor (retrieved from `display::GetDisplayZoomFactors()`).
- The slider will be shown with the current zoom factor selected
(retrieved from
`display_manager()->GetDisplayInfo(display_id).zoom_factor()`).
- All factors will be shown in percentage, the JS side will receive
and return the values in percentage, the conversions from the
float factors to the integer percentages and back are done in the
browser side.
- Applying the selected zoom will be implemented in a follow-up
CL.

Bug: b:275555658
Change-Id: I6bfe035aef80aca302567f1978d3eda1d2ded910
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4503071


Reviewed-by: default avatarBrahim Chikhaoui <bchikhaoui@google.com>
Commit-Queue: Osama Fathy <osamafathy@google.com>
Cr-Commit-Position: refs/heads/main@{#1147430}
parent 4a54f48c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment