1 // Copyright 2013 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.
7 "namespace":"wallpaper",
9 "implemented_in": "chrome/browser/chromeos/extensions/wallpaper_api.h"
11 "description": "Use the <code>chrome.wallpaper</code> API to change the ChromeOS wallpaper.",
15 "id": "WallpaperLayout",
17 "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED" ],
18 "description": "The supported wallpaper layouts."
23 "name": "setWallpaper",
25 "description": "Sets wallpaper to the image at <em>url</em> or <em>wallpaperData</em> with the specified <em>layout</em>",
34 "description": "The jpeg or png encoded wallpaper image."
39 "description": "The URL of the wallpaper to be set."
42 "$ref": "WallpaperLayout",
43 "description": "The supported wallpaper layouts."
47 "description": "The file name of the saved wallpaper."
52 "description": "True if a 128x60 thumbnail should be generated."
64 "description": "The jpeg encoded wallpaper thumbnail. It is generated by resizing the wallpaper to 128x60."