summaryrefslogtreecommitdiffstats
path: root/components/wallpaper/wallpaper_layout.h
blob: 73e33838622df257e43e3dfb3c718972c4fd5583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2014 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.

#ifndef COMPONENTS_WALLPAPER_WALLPAPER_LAYOUT_H_
#define COMPONENTS_WALLPAPER_WALLPAPER_LAYOUT_H_

namespace wallpaper {

enum WallpaperLayout {
  // Center the wallpaper on the desktop without scaling it. The wallpaper
  // may be cropped.
  WALLPAPER_LAYOUT_CENTER,
  // Scale the wallpaper (while preserving its aspect ratio) to cover the
  // desktop; the wallpaper may be cropped.
  WALLPAPER_LAYOUT_CENTER_CROPPED,
  // Scale the wallpaper (without preserving its aspect ratio) to match the
  // desktop's size.
  WALLPAPER_LAYOUT_STRETCH,
  // Tile the wallpaper over the background without scaling it.
  WALLPAPER_LAYOUT_TILE
};

}  // namespace wallpaper
#endif  // COMPONENTS_WALLPAPER_WALLPAPER_LAYOUT_H_