OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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. |
| 4 /** |
| 5 * TODO(ryoh): REMOVE this file if we decide how to define annotations for this |
| 6 * API. |
| 7 * @see https://codereview.chromium.org/1679983003/ |
| 8 */ |
| 9 /** |
| 10 * @const |
| 11 * @see https://goo.gl/7dvJFW |
| 12 */ |
| 13 chrome.wallpaper = {}; |
| 14 |
| 15 /** |
| 16 * Sets wallpaper to the image at url or wallpaperData with the specified |
| 17 * layout. |
| 18 * @param {{ |
| 19 * data: (ArrayBuffer|undefined), |
| 20 * url: (string|undefined), |
| 21 * layout: string, |
| 22 * filename: string, |
| 23 * thumbnail: (boolean|undefined) |
| 24 * }} details |
| 25 * @param {function(ArrayBuffer=)} callback |
| 26 * |
| 27 */ |
| 28 chrome.wallpaper.setWallpaper = function(details, callback) {}; |
OLD | NEW |