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 "platforms": ["chromeos"],
12 "description": "Use the <code>chrome.wallpaper</code> API to change the ChromeOS wallpaper.",
15 "name": "setWallpaper",
17 "description": "Sets wallpaper to the image at <em>url</em> or <em>wallpaperData</em> with the specified <em>layout</em>",
26 "description": "The jpeg or png encoded wallpaper image."
31 "description": "The URL of the wallpaper to be set."
35 "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED" ],
36 "description": "The supported wallpaper layouts."
40 "description": "The file name of the saved wallpaper."
45 "description": "True if a 128x60 thumbnail should be generated."
57 "description": "The jpeg encoded wallpaper thumbnail. It is generated by resizing the wallpaper to 128x60."