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

Unified Diff: third_party/chrome/idl/wallpaper_private.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/chrome/idl/usb.idl ('k') | third_party/chrome/idl/web_navigation.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/chrome/idl/wallpaper_private.json
diff --git a/third_party/chrome/idl/wallpaper_private.json b/third_party/chrome/idl/wallpaper_private.json
new file mode 100644
index 0000000000000000000000000000000000000000..042aecb3aebddc0c0b6a715fcd2913a627ba2778
--- /dev/null
+++ b/third_party/chrome/idl/wallpaper_private.json
@@ -0,0 +1,186 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ {
+ "namespace":"wallpaperPrivate",
+ "nodoc": "true",
+ "functions": [
+ {
+ "name": "getStrings",
+ "type": "function",
+ "description": "Gets translated strings.",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "name": "result",
+ "type": "object",
+ "additionalProperties": {"type": "string"}
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "setWallpaperIfExist",
+ "type": "function",
+ "description": "Sets wallpaper if it exists in the local file system with specified layout",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "url"
+ },
+ {
+ "type": "string",
+ "name": "layout",
+ "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED"]
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "setWallpaper",
+ "type": "function",
+ "description": "Sets wallpaper to the image from url with specified layout",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "binary",
+ "name": "wallpaper"
+ },
+ {
+ "type": "string",
+ "name": "layout",
+ "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED"]
+ },
+ {
+ "type": "string",
+ "name": "url"
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "setCustomWallpaper",
+ "type": "function",
+ "description": "Sets wallpaper to the image from local file with specified layout",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "binary",
+ "name": "wallpaper"
+ },
+ {
+ "type": "string",
+ "name": "layout",
+ "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED"]
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": []
+ }
+ ]
+ },
+ {
+ "name": "minimizeInactiveWindows",
+ "type": "function",
+ "description": "Minimizes all inactive open windows.",
+ "nodoc": "true",
+ "parameters": []
+ },
+ {
+ "name": "restoreMinimizedWindows",
+ "type": "function",
+ "description": "Restores all previously minimized windows.",
+ "nodoc": "true",
+ "parameters": []
+ },
+ {
+ "name": "getThumbnail",
+ "type": "function",
+ "description": "Gets thumbnail of wallpaper from thumbnail directory.",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "url",
+ "description": "Wallpaper url."
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "description": "Function called upon completion.",
+ "parameters": [
+ {
+ "type": "binary",
+ "name": "data",
+ "optional": true,
+ "description": "The binary data of loaded thumbnail."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "saveThumbnail",
+ "type": "function",
+ "description": "Saves thumbnail to thumbnail directory.",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "url",
+ "description": "Wallpaper url."
+ },
+ {
+ "type": "binary",
+ "name": "data",
+ "description": "The binary data of downloaded thumbnail."
+ },
+ {
+ "type": "function",
+ "name": "callback",
+ "description": "Function called upon completion.",
+ "parameters": [],
+ "optional": true
+ }
+ ]
+ },
+ {
+ "name": "getOfflineWallpaperList",
+ "type": "function",
+ "description": "Get the list of file names of downloaded wallpapers.",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "description": "Function called upon completion.",
+ "parameters": [
+ {
+ "type": "array",
+ "name": "results",
+ "items": {"type": "string"}
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/idl/usb.idl ('k') | third_party/chrome/idl/web_navigation.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698