summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_command_controller.cc
diff options
context:
space:
mode:
authormpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 22:53:59 +0000
committermpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 22:53:59 +0000
commit2c2af24265242265d988fe196a627baf8c8fcddf (patch)
treef2819e73584e93437fcd063abc26675b2e39eee8 /chrome/browser/ui/browser_command_controller.cc
parent9e6375b5c229b03a21df5e48958d66c07880bd6f (diff)
downloadchromium_src-2c2af24265242265d988fe196a627baf8c8fcddf.zip
chromium_src-2c2af24265242265d988fe196a627baf8c8fcddf.tar.gz
chromium_src-2c2af24265242265d988fe196a627baf8c8fcddf.tar.bz2
Revert 185029
We see a ton of browser_tests timeouts on windows. http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%281%29/builds/20141 I notice this change didn't run browser_tests on any non-Aura windows boxes. And it removes a keyboard item from windows. Working theory: maybe some browsers tests are sending that particular key that isn't around any more on windows and waiting for something to happen and waiting forever. Reverting to test the theory. Apologies if the theory turns out wrong. :-| > Remove the Exit menu item from the Wrench menu in Win/Ash. > > Relanding after a revert in crrev.com/184662 due to accidentally disabling the Exit menu on non Win-Ash platforms. > > This patch is identical to patch set 4 in https://codereview.chromium.org/12330056/ > > BUG=176130 > TEST=Metro/Ash chrome browsers lose their Exit menu item. > TBR=cpu, sky > > Review URL: https://chromiumcodereview.appspot.com/12340110 TBR=robertshield@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_command_controller.cc')
-rw-r--r--chrome/browser/ui/browser_command_controller.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index 3baaa8a..4eb144b 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -807,12 +807,7 @@ void BrowserCommandController::InitCommandState() {
command_updater_.UpdateCommandEnabled(IDC_CLOSE_TAB, true);
command_updater_.UpdateCommandEnabled(IDC_DUPLICATE_TAB, true);
command_updater_.UpdateCommandEnabled(IDC_RESTORE_TAB, false);
-#if defined(OS_WIN) && defined(USE_ASH)
- if (browser_->host_desktop_type() != chrome::HOST_DESKTOP_TYPE_ASH)
- command_updater_.UpdateCommandEnabled(IDC_EXIT, true);
-#else
command_updater_.UpdateCommandEnabled(IDC_EXIT, true);
-#endif
command_updater_.UpdateCommandEnabled(IDC_DEBUG_FRAME_TOGGLE, true);
#if defined(OS_WIN) && defined(USE_ASH) && !defined(NDEBUG)
if (base::win::GetVersion() < base::win::VERSION_WIN8 &&