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

Unified Diff: ui/keyboard/resources/inputview_adapter.js

Issue 1576613002: Update Google Input Tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing APIs, remove bade dependencies. 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
« no previous file with comments | « third_party/google_input_tools/src/chrome/os/statistics.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
};
« no previous file with comments | « third_party/google_input_tools/src/chrome/os/statistics.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698