OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/aura_shell/shell.h" | 5 #include "ui/aura_shell/shell.h" |
6 #include "ui/aura_shell/shell_accelerator_controller.h" | 6 #include "ui/aura_shell/shell_accelerator_controller.h" |
7 #include "ui/aura_shell/test/aura_shell_test_base.h" | 7 #include "ui/aura_shell/test/aura_shell_test_base.h" |
8 | 8 |
9 namespace aura_shell { | 9 namespace aura_shell { |
10 namespace test { | 10 namespace test { |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // ui::Accelerator(ui::VKEY_TAB, true, false, true))); | 147 // ui::Accelerator(ui::VKEY_TAB, true, false, true))); |
148 // CycleForwrard | 148 // CycleForwrard |
149 // EXPECT_TRUE(GetController()->Process( | 149 // EXPECT_TRUE(GetController()->Process( |
150 // ui::Accelerator(ui::VKEY_TAB, false, false, true))); | 150 // ui::Accelerator(ui::VKEY_TAB, false, false, true))); |
151 // TakeScreenshot | 151 // TakeScreenshot |
152 // EXPECT_TRUE(GetController()->Process( | 152 // EXPECT_TRUE(GetController()->Process( |
153 // ui::Accelerator(ui::VKEY_F5, false, true, false))); | 153 // ui::Accelerator(ui::VKEY_F5, false, true, false))); |
154 // EXPECT_TRUE(GetController()->Process( | 154 // EXPECT_TRUE(GetController()->Process( |
155 // ui::Accelerator(ui::VKEY_PRINT, false, false, false))); | 155 // ui::Accelerator(ui::VKEY_PRINT, false, false, false))); |
156 #if !defined(NDEBUG) | 156 #if !defined(NDEBUG) |
157 // TODO(mazda): Callig RotateScreen in unit test causes a crash because of | |
158 // "pure virtual method called" for some reasons. Need to investigate. | |
159 // RotateScreen | 157 // RotateScreen |
160 // EXPECT_TRUE(GetController()->Process( | 158 EXPECT_TRUE(GetController()->Process( |
161 // ui::Accelerator(ui::VKEY_HOME, false, true, false))); | 159 ui::Accelerator(ui::VKEY_HOME, false, true, false))); |
162 #if !defined(OS_LINUX) | 160 #if !defined(OS_LINUX) |
163 // ToggleDesktopFullScreen (not implemented yet on Linux) | 161 // ToggleDesktopFullScreen (not implemented yet on Linux) |
164 EXPECT_TRUE(GetController()->Process( | 162 EXPECT_TRUE(GetController()->Process( |
165 ui::Accelerator(ui::VKEY_F11, false, true, false))); | 163 ui::Accelerator(ui::VKEY_F11, false, true, false))); |
166 #endif | 164 #endif |
167 #endif | 165 #endif |
168 } | 166 } |
169 | 167 |
170 } // namespace test | 168 } // namespace test |
171 } // namespace aura_shell | 169 } // namespace aura_shell |
OLD | NEW |