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

Unified Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 10388023: AcceleratorController::AcceleratorPressed() should return true whenever some action is taken (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller_unittest.cc
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
index c85a4d6cd0058cc21ccf10f7a3071dacb1e26ddd..4ea3ff77ff22dba73e36bddc289a5aed99c20309 100644
--- a/ash/accelerators/accelerator_controller_unittest.cc
+++ b/ash/accelerators/accelerator_controller_unittest.cc
@@ -446,10 +446,10 @@ TEST_F(AcceleratorControllerTest, GlobalAccelerators) {
// ToggleAppList
{
EXPECT_FALSE(ash::Shell::GetInstance()->GetAppListTargetVisibility());
- EXPECT_FALSE(GetController()->Process(
+ EXPECT_TRUE(GetController()->Process(
ui::Accelerator(ui::VKEY_LWIN, false, true, false)));
EXPECT_TRUE(ash::Shell::GetInstance()->GetAppListTargetVisibility());
- EXPECT_FALSE(GetController()->Process(
+ EXPECT_TRUE(GetController()->Process(
ui::Accelerator(ui::VKEY_LWIN, false, true, false)));
EXPECT_FALSE(ash::Shell::GetInstance()->GetAppListTargetVisibility());
}
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698