Bug 942688 - Part1: Draw title bar decoration with CG directly (r=mstange).
Bug 942688 - Part2: Draw corner mask with Azure (r=mstange).