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

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

Issue 1656083003: Adds the input method private API to allow the component IME extension to change the XKB layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: Created 4 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: chrome/common/extensions/api/input_method_private.json
diff --git a/chrome/common/extensions/api/input_method_private.json b/chrome/common/extensions/api/input_method_private.json
index 5afd08f2daa01374b040c40421628d59c4253c1d..69ca53ec654842dbbb8ec739138efabbd42b8d68 100644
--- a/chrome/common/extensions/api/input_method_private.json
+++ b/chrome/common/extensions/api/input_method_private.json
@@ -158,6 +158,24 @@
]
}
]
+ }, {
+ "name": "setXkbLayout",
+ "type": "function",
+ "description": "Sets the XKB layout for the given input method.",
+ "parameters": [
+ {
+ "name": "xkb_name",
+ "type": "string",
+ "description": "The XKB layout name."
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "optional": true,
+ "description": "Callback which is called when the layout is set.",
+ "parameters": []
+ }
+ ]
}
],
"events": [
« no previous file with comments | « chrome/browser/chromeos/extensions/input_method_api.cc ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698