New issue
Advanced search Search tips

Issue 835030 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocked on:
issue 836054

Blocking:
issue 790723



Sign in to add a comment

Enable display zoom slider by default on Chrome OS

Project Member Reported by malaykeshav@chromium.org, Apr 19 2018

Issue description

The display zoom is currently only accessible via enabling the chrome flag first. We want to switch to enable it by default.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 20 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1354a7bc1428d76d8f6ca44f715090b70cfa1069

commit 1354a7bc1428d76d8f6ca44f715090b70cfa1069
Author: Malay Keshav <malaykeshav@chromium.org>
Date: Fri Apr 20 00:02:59 2018

Enable display zoom slider by default

This patch moves the flag base for enable display zoom slider from a
switch to a feature and enables it by default.

Bug: 790723, 835030 
Change-Id: I1b5ed5adac4febd1a0ca7a1aff36d5ac4e691b54
Component: display switches, chromeos switches, settings ui
Reviewed-on: https://chromium-review.googlesource.com/1018145
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552207}
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/ash/accelerators/accelerator_commands.cc
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/chrome/browser/about_flags.cc
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/chrome/test/data/webui/settings/device_page_tests.js
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/chromeos/chromeos_switches.cc
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/chromeos/chromeos_switches.h
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/ui/display/display_switches.cc
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/ui/display/display_switches.h
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/ui/display/manager/display_change_observer.cc
[modify] https://crrev.com/1354a7bc1428d76d8f6ca44f715090b70cfa1069/ui/display/manager/display_change_observer_unittest.cc

Labels: Merge-Approved-67
Cc: ovanieva@chromium.org osh...@chromium.org
Components: UI>Settings UI>HighDPI
Labels: -Merge-Approved-67 Merge-Request-67
Status: Fixed (was: Started)
Seems like a feature / nice to have rather than a bug fix?
This is simply enabling the feature (Issue 790723). We were waiting for all the launch approvals.
Project Member

Comment 8 by sheriffbot@chromium.org, Apr 21 2018

Labels: -Merge-Request-67 Merge-Approved-67 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M67. Please go ahead and merge the CL to branch 3396 manually. Please contact milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), kbleicher@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: (was: Fixed)
Blockedon: 836054
Project Member

Comment 11 by bugdroid1@chromium.org, Apr 24 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c483e3b4559567ccdd1d11c7de29e6ce941da3e8

commit c483e3b4559567ccdd1d11c7de29e6ce941da3e8
Author: Malay Keshav <malaykeshav@chromium.org>
Date: Tue Apr 24 03:18:43 2018

Use display zoom factors instead of ui scales

This patch replaces ui scales for zoom factors to allow
the clients to compute the ideal content scale.
This patch also adds more scale factor enums to aura shell
interface.

Bug:  835030 , 836054 
Component: aura shell
Change-Id: Id5abd8b2d572365e27f453efd53e1ad46d327424
Reviewed-on: https://chromium-review.googlesource.com/1024920
Commit-Queue: Malay Keshav <malaykeshav@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552986}
[modify] https://crrev.com/c483e3b4559567ccdd1d11c7de29e6ce941da3e8/components/exo/wayland/clients/info.cc
[modify] https://crrev.com/c483e3b4559567ccdd1d11c7de29e6ce941da3e8/components/exo/wayland/protocol/aura-shell.xml
[modify] https://crrev.com/c483e3b4559567ccdd1d11c7de29e6ce941da3e8/components/exo/wayland/public/aura-shell-client-protocol.h
[modify] https://crrev.com/c483e3b4559567ccdd1d11c7de29e6ce941da3e8/components/exo/wayland/public/aura-shell-server-protocol.h
[modify] https://crrev.com/c483e3b4559567ccdd1d11c7de29e6ce941da3e8/components/exo/wayland/server.cc

Project Member

Comment 12 by bugdroid1@chromium.org, Apr 24 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e7173c01de898a26527227bbe4d49aa37e1beaa6

commit e7173c01de898a26527227bbe4d49aa37e1beaa6
Author: Malay Keshav <malaykeshav@chromium.org>
Date: Tue Apr 24 06:36:12 2018

Re-enable display zoom setting by default

This patch enables display zoom setting by default on chromeos.

TBR=oshima@chromium.org

Bug:  835030 
Change-Id: I48c2cfeed6b74bced55d3274414adfd2bdc283e9
Reviewed-on: https://chromium-review.googlesource.com/1025550
Reviewed-by: Malay Keshav <malaykeshav@chromium.org>
Commit-Queue: Malay Keshav <malaykeshav@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553018}
[modify] https://crrev.com/e7173c01de898a26527227bbe4d49aa37e1beaa6/ui/display/display_switches.cc

Project Member

Comment 13 by bugdroid1@chromium.org, Apr 25 2018

Labels: -merge-approved-67 merge-merged-3396
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1497e2bccf108e7dca7719cf81b754e1144b16dc

commit 1497e2bccf108e7dca7719cf81b754e1144b16dc
Author: Malay Keshav <malaykeshav@chromium.org>
Date: Wed Apr 25 00:00:13 2018

(merge) Enable display zoom slider by default

Merge to M67
This patch moves the flag base for enable display zoom slider from a
switch to a feature and enables it by default.

Bug:  835030 
Change-Id: I91e3c99645a6a7397ba06a10ff848e5a132fe5bf
Component: display switches, chromeos switches, settings ui
Reviewed-on: https://chromium-review.googlesource.com/1018145
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#552207}
Reviewed-on: https://chromium-review.googlesource.com/1026937
Reviewed-by: Malay Keshav <malaykeshav@chromium.org>
Cr-Commit-Position: refs/branch-heads/3396@{#273}
Cr-Branched-From: 9ef2aa869bc7bc0c089e255d698cca6e47d6b038-refs/heads/master@{#550428}
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/ash/accelerators/accelerator_commands.cc
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/chrome/browser/about_flags.cc
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/chrome/test/data/webui/settings/device_page_tests.js
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/chromeos/chromeos_switches.cc
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/chromeos/chromeos_switches.h
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/tools/metrics/histograms/enums.xml
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/ui/display/display_switches.cc
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/ui/display/display_switches.h
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/ui/display/manager/chromeos/display_change_observer.cc
[modify] https://crrev.com/1497e2bccf108e7dca7719cf81b754e1144b16dc/ui/display/manager/chromeos/display_change_observer_unittest.cc

Status: Fixed
Project Member

Comment 15 by bugdroid1@chromium.org, Apr 25 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/36412d77e4e8a7d5b6d06d8f2861412c007c65ef

commit 36412d77e4e8a7d5b6d06d8f2861412c007c65ef
Author: Malay Keshav <malaykeshav@chromium.org>
Date: Wed Apr 25 04:17:18 2018

(merge) Use display zoom factors instead of ui scales

Merge to M67
This patch replaces ui scales for zoom factors to allow
the clients to compute the ideal content scale.
This patch also adds more scale factor enums to aura shell
interface.

Bug:  835030 , 836054 
Component: aura shell
Change-Id: Id5abd8b2d572365e27f453efd53e1ad46d327424
Reviewed-on: https://chromium-review.googlesource.com/1024920
Commit-Queue: Malay Keshav <malaykeshav@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552986}(cherry picked from commit c483e3b4559567ccdd1d11c7de29e6ce941da3e8)

TBR=reveman@chromium.org

Change-Id: Id5abd8b2d572365e27f453efd53e1ad46d327424
Reviewed-on: https://chromium-review.googlesource.com/1027271
Reviewed-by: Malay Keshav <malaykeshav@chromium.org>
Cr-Commit-Position: refs/branch-heads/3396@{#281}
Cr-Branched-From: 9ef2aa869bc7bc0c089e255d698cca6e47d6b038-refs/heads/master@{#550428}
[modify] https://crrev.com/36412d77e4e8a7d5b6d06d8f2861412c007c65ef/components/exo/wayland/clients/info.cc
[modify] https://crrev.com/36412d77e4e8a7d5b6d06d8f2861412c007c65ef/components/exo/wayland/protocol/aura-shell.xml
[modify] https://crrev.com/36412d77e4e8a7d5b6d06d8f2861412c007c65ef/components/exo/wayland/public/aura-shell-client-protocol.h
[modify] https://crrev.com/36412d77e4e8a7d5b6d06d8f2861412c007c65ef/components/exo/wayland/public/aura-shell-server-protocol.h
[modify] https://crrev.com/36412d77e4e8a7d5b6d06d8f2861412c007c65ef/components/exo/wayland/server.cc

Comment 16 by minch@chromium.org, Apr 26 2018

M67 compilation is broken with error
../../components/exo/wayland/server.cc:98:10: fatal error: 'ui/display/manager/display_util.h' file not found
#include "ui/display/manager/display_util.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Seems that some moved this file in this cl
https://chromium-review.googlesource.com/c/chromium/src/+/969416.
Looking into it.
Will revert and re-merge
Thanks for looking into the fix per #17; this broke the Chrome PFQ for M67.....
#16
Please verify. Fix is merged.
Is there a different CL for the fix?  Need to check where it landed for merge / release confirmation.
Thanks, please IM after merged; I need to uprev.  Thx

Sign in to add a comment