cros: 'Set wallpaper' should be consistent for context menu and setting
The criteria of opening wallpaper picker should be consistent between the settings page [1] and the shelf context menu [2]. Another pending CL [3] will combine these two places to avoid duplicate logic. The criteria of whether to show the 'shelf position' option remains unchanged and it should be separate from the logic of wallpaper picker. [1] https://cs.chromium.org/chromium/src/chrome/browser/ui/webui/settings/appearance_handler.cc?q=appearance_handler&sq=package:chromium&dr=C&l=76 [2] https://cs.chromium.org/chromium/src/chrome/browser/chromeos/background/ash_wallpaper_delegate.cc?dr=C&q=ash_wallpaper&sq=package:chromium&l=73 [3] https://chromium-review.googlesource.com/c/chromium/src/+/848193 Bug: 806051 Change-Id: I99da5e9bfef4dc02a2cdc53b33862d6310d88e14 Reviewed-on: https://chromium-review.googlesource.com/887251 Commit-Queue: Wenzhao (Colin) Zang <wzang@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#532026}
Showing
Please register or sign in to comment