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

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/readystate.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
Index: third_party/google_input_tools/src/chrome/os/inputview/readystate.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/readystate.js b/third_party/google_input_tools/src/chrome/os/inputview/readystate.js
index 2bb6dd38a553cfdcaf1b34b81152563a4b3b5f6e..0f4e89701e89543c2ddb98967a1103290df3f5eb 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/readystate.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/readystate.js
@@ -41,7 +41,8 @@ ReadyState.State = {
KEYBOARD_CONFIG_READY: 0x10,
LAYOUT_READY: 0x100,
LAYOUT_CONFIG_READY: 0x1000,
- M17N_LAYOUT_READY: 0x10000
+ M17N_LAYOUT_READY: 0x10000,
+ DISPLAY_SIZE_READY: 0x100000
};
@@ -54,21 +55,6 @@ ReadyState.prototype.state_ = 0;
/**
- * Gets whether the system is ready.
- *
- * @return {boolean} Whether the system is ready.
- */
-ReadyState.prototype.isAllReady = function() {
- return !!(this.state_ & (
- ReadyState.State.IME_LIST_READY |
- ReadyState.State.KEYBOARD_CONFIG_READY |
- ReadyState.State.LAYOUT_READY |
- ReadyState.State.LAYOUT_CONFIG_READY |
- ReadyState.State.M17N_LAYOUT_READY));
-};
-
-
-/**
* Gets whether a specific state type is ready.
*
* @param {ReadyState.State} state .

Powered by Google App Engine
This is Rietveld 408576698