| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/accelerators/accelerator_controller.h" | 5 #include "ash/accelerators/accelerator_controller.h" |
| 6 #include "ash/caps_lock_delegate.h" | 6 #include "ash/caps_lock_delegate.h" |
| 7 #include "ash/ime/event.h" | 7 #include "ash/ime/event.h" |
| 8 #include "ash/screenshot_delegate.h" | 8 #include "ash/screenshot_delegate.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 } | 312 } |
| 313 #if !defined(NDEBUG) | 313 #if !defined(NDEBUG) |
| 314 // RotateScreen | 314 // RotateScreen |
| 315 EXPECT_TRUE(GetController()->Process( | 315 EXPECT_TRUE(GetController()->Process( |
| 316 ui::Accelerator(ui::VKEY_HOME, false, true, false))); | 316 ui::Accelerator(ui::VKEY_HOME, false, true, false))); |
| 317 #if !defined(OS_LINUX) | 317 #if !defined(OS_LINUX) |
| 318 // ToggleDesktopFullScreen (not implemented yet on Linux) | 318 // ToggleDesktopFullScreen (not implemented yet on Linux) |
| 319 EXPECT_TRUE(GetController()->Process( | 319 EXPECT_TRUE(GetController()->Process( |
| 320 ui::Accelerator(ui::VKEY_F11, false, true, false))); | 320 ui::Accelerator(ui::VKEY_F11, false, true, false))); |
| 321 #endif | 321 #endif |
| 322 |
| 323 // Exit |
| 324 EXPECT_TRUE(GetController()->Process( |
| 325 ui::Accelerator(ui::VKEY_Q, true, true ,false))); |
| 322 #endif | 326 #endif |
| 323 } | 327 } |
| 324 | 328 |
| 325 } // namespace test | 329 } // namespace test |
| 326 } // namespace ash | 330 } // namespace ash |
| OLD | NEW |