blob: d2bbad32f6fb25cdf2e48b5513e16fd987ac5085 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module ash.mojom;
import "skia/public/interfaces/bitmap.mojom";
// These values match wallpaper::WallpaperLayout.
enum WallpaperLayout { CENTER, CENTER_CROPPED, STRETCH, TILE, };
// Used by Chrome to set the wallpaper displayed by ash.
interface WallpaperController {
SetWallpaper(skia.mojom.Bitmap wallpaper, WallpaperLayout layout);
// Used by ash to trigger Chrome's wallpaper picker functionality.
interface WallpaperManager {