Index: ui/keyboard/resources/inputview_adapter.js |
diff --git a/ui/keyboard/resources/inputview_adapter.js b/ui/keyboard/resources/inputview_adapter.js |
index 1e0d459f9742204bed7fd3cbc29ed01700a9a9c3..32849e0163cedfb04dd1a6a10701a9d4cb6ee5c4 100644 |
--- a/ui/keyboard/resources/inputview_adapter.js |
+++ b/ui/keyboard/resources/inputview_adapter.js |
@@ -224,6 +224,16 @@ function registerInputviewApi() { |
} |
/** |
+ * Retrieve the current display size in inches. |
+ * @param {function} callback |
+ * @private |
+ */ |
+ function getDisplayInInches_(callback) { |
+ callback(0); |
+ } |
+ |
+ |
+ /** |
* Retrieve the current input method configuration. |
* @param {function} callback The callback function for processing the |
* name of the active input mehtod. |
@@ -320,6 +330,7 @@ function registerInputviewApi() { |
getCurrentInputMethod: getCurrentInputMethod_, |
getInputMethodConfig: getInputMethodConfig_, |
switchToInputMethod: switchToInputMethod_, |
+ getDisplayInInches: getDisplayInInches_, |
openSettings: openSettings_ |
}; |