mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 13:45:27 +00:00
723a77ddea
======== https://hg.mozilla.org/integration/gaia-central/rev/0cc496fad27f Author: Min-Zhong "John" Lu <jlu@mozilla.com> Desc: Merge pull request #25840 from mnjul/bug_1093537_input_window_management_from_kbm Bug 1093537 - Move input app window management-related responsibility from KeyboardManager to InputWindowManager. r=alive,timdream,rudyl ======== https://hg.mozilla.org/integration/gaia-central/rev/ddb84c2ad293 Author: John Lu [:mnjul] <jlu@mozilla.com> Desc: Bug 1093537 - Move input app window management-related responsibility from KeyboardManager to InputWindowManager - A lot of events that only affects inputWindow showing/hiding goes to InputWindowManager instead of KeyboardManager now. - "RemoveKeyboard" concept is now separated: -- InputWindowManager._onInputLayoutsRemoved() is called by KeyboardManager to signify that some keyboard layouts have been removed (disabled from system settings, or uninstalled keyboard app). IWM will remove InputWindow references accordingly. -- KeyboardManager._onKeyboardKilled() is called by InputWindowManager to signify that a loaded and currently showing out-of-process keyboard has been OOM'killed. KeyboardManager has to determine a keyboard layout to relaunch. - A closed InputWindow now has height 0 instead of undefined. - Please use inputWindowManager.hideInputWindow()/.hideInputWindowImmediately()/.getHeight() in place of KeyboardManager.hideKeyboard()/.hideKeyboardImmediately/.getHeight(). - inputWindowManager is a singleton and accessible in the window scope. - KeyboardManager had lacked tests about getting device memory and retrieving setting of enabledness of 3rd-party keyboard, which have been added (to InputWindowManager) in this test. Additionally, KeyboardManager.updateLayouts() is tested now (although only roughly). |
||
---|---|---|
.. | ||
app | ||
branding | ||
chrome | ||
components | ||
config | ||
dev | ||
gaia | ||
installer | ||
locales | ||
simulator | ||
test | ||
app.mozbuild | ||
build.mk | ||
confvars.sh | ||
LICENSE | ||
Makefile.in | ||
moz.build |