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 . |