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

Unified Diff: extensions/common/api/guest_view_internal.json

Issue 847893002: Implemented explicit resizing from guestview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another small fix. Created 5 years, 11 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: extensions/common/api/guest_view_internal.json
diff --git a/extensions/common/api/guest_view_internal.json b/extensions/common/api/guest_view_internal.json
index 46564e54785d46d91d58256d71532574c343fcfe..ddf8ce9457ceeea32e2597c5c34dc5d662e8ca58 100644
--- a/extensions/common/api/guest_view_internal.json
+++ b/extensions/common/api/guest_view_internal.json
@@ -23,18 +23,25 @@
}
},
{
- "id": "AutoSizeParams",
+ "id": "SizeParams",
"type": "object",
- "description": "Autosize parameters.",
+ "description": "Size parameters.",
"properties": {
"enableAutoSize": {
- "type": "boolean"
+ "type": "boolean",
+ "optional": true
},
"min": {
- "$ref": "Size"
+ "$ref": "Size",
+ "optional": true
},
"max": {
- "$ref": "Size"
+ "$ref": "Size",
+ "optional": true
+ },
+ "normal": {
+ "$ref": "Size",
+ "optional": true
}
}
}
@@ -83,7 +90,7 @@
]
},
{
- "name": "setAutoSize",
+ "name": "setSize",
"type": "function",
"parameters": [
{
@@ -92,7 +99,7 @@
"description": "The instance ID of the guest <webview> process. This not exposed to developers through the API."
},
{
- "$ref": "AutoSizeParams",
+ "$ref": "SizeParams",
"name": "params"
},
{
« no previous file with comments | « extensions/browser/guest_view/guest_view_base.cc ('k') | extensions/common/guest_view/guest_view_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698