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

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

Issue 1128173003: Implements onBoundsChanged event in virtualKeyboardPrivate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 7 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 | « chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc ('k') | ui/keyboard/keyboard_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/virtual_keyboard_private.json
diff --git a/extensions/common/api/virtual_keyboard_private.json b/extensions/common/api/virtual_keyboard_private.json
index 71bdd0ea4269fba5102784a742229acf3f1e9056..f8dd8268e27b56336a5a527d9ca464d8e083c56c 100644
--- a/extensions/common/api/virtual_keyboard_private.json
+++ b/extensions/common/api/virtual_keyboard_private.json
@@ -39,7 +39,17 @@
"type": "string",
"description": "The value of type attribute of the focused text input box.",
"enum": ["text", "number", "password", "date", "url", "tel", "email"]
- }
+ },
+ {
+ "id": "Bounds",
+ "type": "object",
+ "properties": {
+ "left": {"type": "integer", "description": "The position of the virtual keyboard window's left edge."},
+ "top": {"type": "integer", "description": "The position of the virtual keyboard window's top edge."},
+ "width": {"type": "integer", "description": "The width of the virtual keyboard window."},
+ "height": {"type": "integer", "description": "The height of the virtual keyboard window."}
+ }
+ }
],
"functions": [
{
@@ -208,6 +218,18 @@
}
}
]
+ },
+ {
+ "name": "onBoundsChanged",
+ "type": "function",
+ "description": "This event is sent when virtual keyboard bounds changed and overscroll/resize is enabled.",
+ "parameters": [
+ {
+ "name": "bounds",
+ "description": "The virtual keyboard bounds",
+ "$ref": "Bounds"
+ }
+ ]
}
]
}
« no previous file with comments | « chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc ('k') | ui/keyboard/keyboard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698