Fix build for Windows.

Windows switched to Aura therefore we need to remove the old code
path and use the generic method to access the title. The compilation
failure was due to the fact that NativeWindow type is not anymore
a HWND.

BUG=936