summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/extensions/api/wallpaper_private.json
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/common/extensions/api/wallpaper_private.json')
-rw-r--r--chromium/chrome/common/extensions/api/wallpaper_private.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/chromium/chrome/common/extensions/api/wallpaper_private.json b/chromium/chrome/common/extensions/api/wallpaper_private.json
index c01ef51ca75..11ea54ccc6c 100644
--- a/chromium/chrome/common/extensions/api/wallpaper_private.json
+++ b/chromium/chrome/common/extensions/api/wallpaper_private.json
@@ -433,6 +433,35 @@
"parameters": []
}
]
+ },
+ {
+ "name": "getCurrentWallpaperThumbnail",
+ "type": "function",
+ "description": "Get a thumbnail of the wallpaper currently on display.",
+ "nodoc": true,
+ "parameters": [
+ {
+ "type": "integer",
+ "name": "thumbnailWidth",
+ "description": "The desired width of the thumbnail in pixels."
+ },
+ {
+ "type": "integer",
+ "name": "thumbnailHeight",
+ "description": "The desired height of the thumbnail in pixels."
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "description": "Function called upon completion.",
+ "parameters": [
+ {
+ "type": "binary",
+ "name": "thumbnail"
+ }
+ ]
+ }
+ ]
}
],
"events": [