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": [ |