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

Side by Side Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 9124021: Adds Ctrl-Shift-Q support inside AppList (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed extraneous import Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/shell/shell_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/shell/shell_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698