Chromium Code Reviews| Index: chrome/browser/ui/extensions/application_launch.cc |
| diff --git a/chrome/browser/ui/extensions/application_launch.cc b/chrome/browser/ui/extensions/application_launch.cc |
| index 45d5b7970950b6f2dc303196b2bef2e507f6cd5d..bfb1139628315d79806b23c8d7235b164d19b807 100644 |
| --- a/chrome/browser/ui/extensions/application_launch.cc |
| +++ b/chrome/browser/ui/extensions/application_launch.cc |
| @@ -30,7 +30,7 @@ |
| #include "ui/gfx/rect.h" |
| #if defined(OS_WIN) |
| -#include "base/win/metro.h" |
| +#include "win8/util/win8_util.h" |
| #endif |
| using content::WebContents; |
| @@ -115,7 +115,7 @@ WebContents* OpenApplicationWindow( |
| // In Chrome on Windows 8 in metro mode we don't allow multiple chrome |
| // windows to be created, as we don't have a good way to switch between |
| // them. We attempt to reuse an existing Browser window. |
|
cpu_(ooo_6.6-7.5)
2012/12/03 20:56:26
comment needs rewording
gab
2012/12/04 00:19:06
Done.
|
| - if (base::win::IsMetroProcess()) { |
| + if (win8::IsSingleWindowMetroMode()) { |
| browser = browser::FindBrowserWithProfile( |
| profile, chrome::HOST_DESKTOP_TYPE_NATIVE); |
| } |