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

Unified Diff: ash/public/interfaces/wallpaper.mojom

Issue 2413503002: Cleanup mojo Wallpaper interfaces for mash. (Closed)
Patch Set: Sync and rebase again... Created 4 years, 2 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 | « ash/public/interfaces/typemaps.gni ('k') | ash/public/interfaces/wallpaper.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/wallpaper.mojom
diff --git a/ash/public/interfaces/wallpaper.mojom b/ash/public/interfaces/wallpaper.mojom
index fd04d84fa62fe584df94a00be35bd3991277ae8c..e03b28c89d34cdac3e7abca688cd8c4673b71698 100644
--- a/ash/public/interfaces/wallpaper.mojom
+++ b/ash/public/interfaces/wallpaper.mojom
@@ -11,10 +11,15 @@ enum WallpaperLayout { CENTER, CENTER_CROPPED, STRETCH, TILE, };
// Used by Chrome to set the wallpaper displayed by ash.
interface WallpaperController {
+ // Set the wallpaper bitmap and layout used for the ash desktop background.
+ // A null or empty |wallpaper| bitmap is treated as a no-op.
+ // TODO(crbug.com/655875): Optimize ash wallpaper transport; avoid sending
+ // large bitmaps over Mojo; use shared memory like BitmapUploader, etc.
SetWallpaper(skia.mojom.Bitmap? wallpaper, WallpaperLayout layout);
};
// Used by ash to trigger Chrome's wallpaper picker functionality.
interface WallpaperManager {
+ // Open the wallpaper picker window.
Open();
};
« no previous file with comments | « ash/public/interfaces/typemaps.gni ('k') | ash/public/interfaces/wallpaper.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698