Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(574)

Side by Side Diff: chrome/common/extensions/api/wallpaper_private.json

Issue 10754014: Wallpaper manager backend APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add function "SaveToFile" Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 [
6 {
7 "namespace":"wallpaperPrivate",
8 "nodoc": "true",
9 "functions": [
10 {
11 "name": "getStrings",
12 "type": "function",
13 "description": "Gets translated strings.",
14 "nodoc": "true",
15 "parameters": [
16 {
17 "type": "function",
18 "name": "callback",
19 "parameters": [
20 {
21 "name": "result",
22 "type": "object",
23 "additionalProperties": {"type": "string"}
24 }
25 ]
26 }
27 ]
28 },
29 {
30 "name": "setWallpaper",
31 "type": "function",
32 "description": "Sets wallpaper to the image from url with specified layo ut",
33 "nodoc": "true",
34 "parameters": [
35 {
36 "type": "binary",
37 "name": "wallpaper"
38 },
39 {
40 "type": "string",
41 "name": "layout",
42 "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED"]
43 },
44 {
45 "type": "string",
46 "name": "url"
47 }
48 ]
49 }
50 ]
51 }
52 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698