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

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

Issue 7553016: Use text input type to control visibility of virtual keyboard (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase on HEAD Created 9 years, 4 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/touch/keyboard/keyboard_manager.cc ('k') | views/ime/text_input_type_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index de4d6d54e9be933bc241121175e631d54043f4a0..f69565d1ffcca328137ff500f4ddcd061375b1b3 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -3406,6 +3406,19 @@
"description": "Name of the MenuItem which was activated"
}
]
+ },
+ {
+ "name": "onTextInputTypeChanged",
+ "type": "function",
+ "description": "This event is sent to the virtual keyboard when the text input type is changed.",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "type",
+ "enum": ["none", "text", "password", "search", "email", "number", "tel", "url"],
+ "description": "Type of the current focused input field."
+ }
+ ]
}
]
},
« no previous file with comments | « chrome/browser/ui/touch/keyboard/keyboard_manager.cc ('k') | views/ime/text_input_type_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698