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

Unified Diff: chrome/common/extensions/api/wallpaper_private.json

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: chrome/common/extensions/api/wallpaper_private.json
diff --git a/chrome/common/extensions/api/wallpaper_private.json b/chrome/common/extensions/api/wallpaper_private.json
index 6a8828081dbe89657eb5f60a79e6d3085627f795..b2b6c933f47a7059ab6f02bd2b7a3dfbf65f8054 100644
--- a/chrome/common/extensions/api/wallpaper_private.json
+++ b/chrome/common/extensions/api/wallpaper_private.json
@@ -11,9 +11,9 @@
"description": "none",
"types": [
{
- "id": "WallpaperLayout",
+ "id": "WallpaperSource",
"type": "string",
- "enum": [ "STRETCH", "CENTER", "CENTER_CROPPED" ]
+ "enum": [ "ONLINE", "OEM" ]
}
],
"functions": [
@@ -67,7 +67,7 @@
},
{
"name": "layout",
- "$ref": "WallpaperLayout"
+ "$ref": "wallpaper.WallpaperLayout"
},
{
"type": "function",
@@ -93,7 +93,7 @@
},
{
"name": "layout",
- "$ref": "WallpaperLayout"
+ "$ref": "wallpaper.WallpaperLayout"
},
{
"type": "string",
@@ -125,7 +125,7 @@
},
{
"name": "layout",
- "$ref": "WallpaperLayout"
+ "$ref": "wallpaper.WallpaperLayout"
},
{
"type": "boolean",
@@ -157,7 +157,7 @@
"parameters": [
{
"name": "layout",
- "$ref": "WallpaperLayout"
+ "$ref": "wallpaper.WallpaperLayout"
},
{
"type": "function",
@@ -193,8 +193,7 @@
},
{
"name": "source",
- "type": "string",
- "enum": [ "ONLINE", "OEM" ]
+ "$ref": "WallpaperSource"
},
{
"type": "function",

Powered by Google App Engine
This is Rietveld 408576698