Commit eb48f2f9 authored by Darren Shen's avatar Darren Shen Committed by Commit Bot

[VK] Update docs for virtualKeyboardPrivate.setContainerBehavior.

The docs is wrong: the callback that setContainerBehavior takes also
takes a bool indicating success (see [1]).

[1] https://cs.chromium.org/chromium/src/extensions/browser/api/virtual_keyboard_private/virtual_keyboard_private_api.cc?type=cs&g=0&l=135

Bug: 902232
Change-Id: Ieead5072d7ab13c2b1cac1a8042b143fdd01eebb
Reviewed-on: https://chromium-review.googlesource.com/c/1354738Reviewed-by: default avatarBen Wells <benwells@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612466}
parent d95999a3
...@@ -213,8 +213,14 @@ ...@@ -213,8 +213,14 @@
"type": "function", "type": "function",
"name": "callback", "name": "callback",
"optional": true, "optional": true,
"description": "Called when container mode is ready to chagne.", "description": "Called when container mode is ready to change, or if the operation failed.",
"parameters": [] "parameters": [
{
"name": "success",
"type": "boolean",
"description": "Whether the container mode changed successfully"
}
]
} }
] ]
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment