WindowSet: Add support for overriding the creation a window

Change-Id: Ic470b141da924eac777d1f8180fc9fed7139eb84
Merge "WindowSet: Add support for overriding the creation a window"