Make all consumers of chrome::NewEmptyWindow and chrome::OpenEmptyWindow browser commands use the version specifying a HostDesktopType.
Removes chrome::OpenEmptyWindow() completely. 1 trickier consumer remains for chrome::NewEmptyWindow(), but the non-multi-desktop aware ovveride of this call was renamed to chrome::NewEmptyWindowDeprecated() and will be removed in a follow-up CL.
- Re-used desktop context where it was present.
- Hardcoded context to HOST_DESKTOP_TYPE_ASH for everything under chrome/browser/ui/ash/.
- Hardcoded context to HOST_DESKTOP_TYPE_NATIVE in tests.
BUG=129187
Review URL: https://chromiumcodereview.appspot.com/12282048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183424 0039d316-1c4b-4281-b951-d872f2087c98
15 files changed