base: Use scoped_ptr for ownership of pointers in unittests.
[chromium-blink-merge.git] / components / wallpaper / wallpaper_layout.h
blob73e33838622df257e43e3dfb3c718972c4fd5583
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_
8 namespace wallpaper {
10 enum WallpaperLayout {
11 // Center the wallpaper on the desktop without scaling it. The wallpaper
12 // may be cropped.
13 WALLPAPER_LAYOUT_CENTER,
14 // Scale the wallpaper (while preserving its aspect ratio) to cover the
15 // desktop; the wallpaper may be cropped.
16 WALLPAPER_LAYOUT_CENTER_CROPPED,
17 // Scale the wallpaper (without preserving its aspect ratio) to match the
18 // desktop's size.
19 WALLPAPER_LAYOUT_STRETCH,
20 // Tile the wallpaper over the background without scaling it.
21 WALLPAPER_LAYOUT_TILE
24 } // namespace wallpaper
25 #endif // COMPONENTS_WALLPAPER_WALLPAPER_LAYOUT_H_