Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Unified Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 12330056: Remove the Exit menu item from the Wrench menu in Win/Ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update accelerator unit test. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/accelerators/accelerator_controller_unittest.cc
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
index 5de157c28fbc52c2510d017c9f0ac5d79d65edae..a1dcf32f4bf1f7ad347f132b1f85885e2c2000ee 100644
--- a/ash/accelerators/accelerator_controller_unittest.cc
+++ b/ash/accelerators/accelerator_controller_unittest.cc
@@ -856,9 +856,11 @@ TEST_F(AcceleratorControllerTest, GlobalAccelerators) {
#endif // OS_LINUX
#endif // !NDEBUG
+#if !defined(OS_WIN)
// Exit
EXPECT_TRUE(ProcessWithContext(
ui::Accelerator(ui::VKEY_Q, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN)));
+#endif
// New tab
EXPECT_TRUE(ProcessWithContext(
« no previous file with comments | « no previous file | ash/accelerators/accelerator_table.cc » ('j') | chrome/browser/ui/browser_command_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698