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

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

Issue 800543005: Revert of Implemented explicit resizing from guestview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 ddf8ce9457ceeea32e2597c5c34dc5d662e8ca58..46564e54785d46d91d58256d71532574c343fcfe 100644
--- a/extensions/common/api/guest_view_internal.json
+++ b/extensions/common/api/guest_view_internal.json
@@ -23,25 +23,18 @@
}
},
{
- "id": "SizeParams",
+ "id": "AutoSizeParams",
"type": "object",
- "description": "Size parameters.",
+ "description": "Autosize parameters.",
"properties": {
"enableAutoSize": {
- "type": "boolean",
- "optional": true
+ "type": "boolean"
},
"min": {
- "$ref": "Size",
- "optional": true
+ "$ref": "Size"
},
"max": {
- "$ref": "Size",
- "optional": true
- },
- "normal": {
- "$ref": "Size",
- "optional": true
+ "$ref": "Size"
}
}
}
@@ -90,7 +83,7 @@
]
},
{
- "name": "setSize",
+ "name": "setAutoSize",
"type": "function",
"parameters": [
{
@@ -99,7 +92,7 @@
"description": "The instance ID of the guest <webview> process. This not exposed to developers through the API."
},
{
- "$ref": "SizeParams",
+ "$ref": "AutoSizeParams",
"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