To integrate with the new keyboard switching API - Bug 885692