[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:Brahim Chikhaoui <bchikhaoui@google.com> Commit-Queue: Osama Fathy <osamafathy@google.com> Cr-Commit-Position: refs/heads/main@{#1147430}
Loading
Please register or sign in to comment