Chromium Code Reviews| Index: chrome/browser/ui/host_desktop.cc |
| diff --git a/chrome/browser/ui/host_desktop.cc b/chrome/browser/ui/host_desktop.cc |
| index f62ad8d32d1fd7b056b787033ac36e4d16113ff1..ce2bf3767e6457e75ca3f4f17a818e3e522cd0ec 100644 |
| --- a/chrome/browser/ui/host_desktop.cc |
| +++ b/chrome/browser/ui/host_desktop.cc |
| @@ -70,4 +70,13 @@ HostDesktopType GetActiveDesktop() { |
| return HOST_DESKTOP_TYPE_NATIVE; |
| } |
| +HostDesktopType GetVerifiedHostDesktopForBrowser(HostDesktopType desktop_type) { |
| +#if defined(USE_ASH) && defined(OS_WIN) |
| + if (ash::Shell::HasInstance()) |
| + return chrome::HOST_DESKTOP_TYPE_ASH; |
|
Shrikant Kelkar
2013/11/14 23:54:23
I doubt if this will work when we have both ASH an
tapted
2013/11/15 00:11:51
Yes that's correct. This function is to capture th
|
| + |
| +#endif |
| + return desktop_type; |
| +} |
| + |
| } // namespace chrome |