b=843599, followup -- use MOZ_WIDGET_GONK, not MOZ_B2G, to fix desktop b2g builds
Bug 773159 - Add support for returning the title and type of the active chrome window, r=mdas