Bug 994539 - [keyboard refactor] layout definition could borrow key def

from predefined pages.