Chromium Code Reviews| Index: chrome/browser/ui/toolbar/wrench_menu_model.cc |
| diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.cc b/chrome/browser/ui/toolbar/wrench_menu_model.cc |
| index b270dd3ddc88e6e663e858bcb3329a3fbc2fe5d3..36de0ed5c117ef423d5b4647328e038302ec3fca 100644 |
| --- a/chrome/browser/ui/toolbar/wrench_menu_model.cc |
| +++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc |
| @@ -71,6 +71,7 @@ |
| #include "base/win/windows_version.h" |
| #include "chrome/browser/enumerate_modules_model_win.h" |
| #include "chrome/browser/ui/metro_pin_tab_helper_win.h" |
| +#include "win8/util/win8_util.h" |
| #endif |
| #if defined(USE_ASH) |
| @@ -474,7 +475,7 @@ void WrenchMenuModel::Build(bool is_new_menu, bool supports_new_separators) { |
| AddItemWithStringId(IDC_NEW_TAB, IDS_NEW_TAB); |
| #if defined(OS_WIN) |
| - if (base::win::IsMetroProcess()) { |
| + if (win8::IsSingleWindowMetroMode()) { |
| // In Metro, we only show the New Window options if there isn't already |
|
cpu_(ooo_6.6-7.5)
2012/12/03 20:56:26
reword
gab
2012/12/04 00:19:06
Done.
|
| // a window of the requested type (incognito or not) that is available. |
| if (browser_->profile()->IsOffTheRecord()) { |