Ash shouldn't connect to chrome for ash::mojom::WallpaperManager |
||||||||
Issue descriptionInstead of ash connecting to chrome have chrome set the client interface on ash on startup (which it can then use at any point). This enforces the proper layering. See https://codereview.chromium.org/2525813004/ for a similar change.
,
Dec 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6e6bcece082c7a57af4a436fe7599770543140a2 commit 6e6bcece082c7a57af4a436fe7599770543140a2 Author: msw <msw@chromium.org> Date: Thu Dec 08 01:29:50 2016 mash: Have chrome set itself as the wallpaper picker. Rename WallpaperManager interface to WallpaperPicker. Add WallpaperController::SetWallpaperPicker. Chrome's WallpaperManager registers itself as picker on startup. Ash's WallpaperController caches a ptr to the picker interface. WallpaperManager interface no longer provided by Chrome. Nix unused SetWallpaperImage return value. BUG= 670801 TEST=No wallpaper regressions in Classic ash or Mash. R=jamescook@chromium.org,tsepez@chromium.org,xiyuan@chromium.org, Review-Url: https://codereview.chromium.org/2559503003 Cr-Commit-Position: refs/heads/master@{#437116} [modify] https://crrev.com/6e6bcece082c7a57af4a436fe7599770543140a2/ash/common/wallpaper/wallpaper_controller.cc [modify] https://crrev.com/6e6bcece082c7a57af4a436fe7599770543140a2/ash/common/wallpaper/wallpaper_controller.h [modify] https://crrev.com/6e6bcece082c7a57af4a436fe7599770543140a2/ash/public/interfaces/wallpaper.mojom [modify] https://crrev.com/6e6bcece082c7a57af4a436fe7599770543140a2/chrome/browser/chrome_content_browser_manifest_overlay.json [modify] https://crrev.com/6e6bcece082c7a57af4a436fe7599770543140a2/chrome/browser/chromeos/chrome_interface_factory.cc [modify] https://crrev.com/6e6bcece082c7a57af4a436fe7599770543140a2/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc [modify] https://crrev.com/6e6bcece082c7a57af4a436fe7599770543140a2/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h
,
Dec 8 2016
,
Mar 4 2017
,
Apr 17 2017
,
May 30 2017
,
Aug 1 2017
,
Oct 14 2017
,
Feb 26 2018
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by jamescook@chromium.org
, Dec 2 2016