1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_WALLPAPER_WALLPAPER_LAYOUT_H_
6 #define COMPONENTS_WALLPAPER_WALLPAPER_LAYOUT_H_
10 // This enum is used to back a histogram, and should therefore be treated as
12 enum WallpaperLayout
{
13 // Center the wallpaper on the desktop without scaling it. The wallpaper
15 WALLPAPER_LAYOUT_CENTER
,
16 // Scale the wallpaper (while preserving its aspect ratio) to cover the
17 // desktop; the wallpaper may be cropped.
18 WALLPAPER_LAYOUT_CENTER_CROPPED
,
19 // Scale the wallpaper (without preserving its aspect ratio) to match the
21 WALLPAPER_LAYOUT_STRETCH
,
22 // Tile the wallpaper over the background without scaling it.
23 WALLPAPER_LAYOUT_TILE
,
27 } // namespace wallpaper
28 #endif // COMPONENTS_WALLPAPER_WALLPAPER_LAYOUT_H_