Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Unified Diff: chrome/browser/chromeos/arc/arc_wallpaper_service.cc

Issue 2345153002: cheets: add wallpaper observer to arc_wallpaper_service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cheets: switch arc wallpaper layout to CENTER_CROPPED. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_wallpaper_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_wallpaper_service.cc b/chrome/browser/chromeos/arc/arc_wallpaper_service.cc
index bbd169e494aa1810d259a1012d1e6254f98984b9..591b05afea8c5d8b42e9e24895708c62d1f6d2fd 100644
--- a/chrome/browser/chromeos/arc/arc_wallpaper_service.cc
+++ b/chrome/browser/chromeos/arc/arc_wallpaper_service.cc
@@ -53,8 +53,8 @@ void SetBitmapAsWallpaper(const SkBitmap& bitmap) {
// TODO(crbug.com/618922): Allow specifying layout.
wallpaper_manager->SetCustomWallpaper(
account_id, wallpaper_files_id, kAndroidWallpaperFilename,
- wallpaper::WALLPAPER_LAYOUT_STRETCH, user_manager::User::CUSTOMIZED,
- image, update_wallpaper);
+ wallpaper::WALLPAPER_LAYOUT_CENTER_CROPPED,
+ user_manager::User::CUSTOMIZED, image, update_wallpaper);
// TODO(crbug.com/618922): Register the wallpaper to Chrome OS wallpaper
// picker. Currently the new wallpaper does not appear there. The best way to
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698