Like nsCocoaUtils, we should make WinUtils in widget/src/windows.
Created attachment 583447 [details] [diff] [review]
Comment on attachment 583447 [details] [diff] [review]
Nice commenting in the header. Note, the file picker code didn't apply cleanly but it looks ok in the patch.
Also, there are recently added routines in toolkit - createItemFromParsingName & VistaCreateItemFromParsingNameInit that could also be moved here. If you don't want to add that I can do it in a follow up.
You might want to get this landed before bug 679226, I think this is going to be harder to touch up once those changes land.
landed the patch on inbound with replacing widget/src with widget.
I'm on vacation until 9th Jan, so, I'd like you to do the follow up fix if you could. Thanks.