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

Side by Side Diff: ui/aura_shell/shell_accelerator_controller_unittest.cc

Issue 9035001: Move some more WM functionality down into ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 12 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
OLDNEW
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 "ash/wm/window_util.h"
5 #include "ui/aura/event.h" 6 #include "ui/aura/event.h"
6 #include "ui/aura/root_window.h" 7 #include "ui/aura/root_window.h"
7 #include "ui/aura/test/test_window_delegate.h" 8 #include "ui/aura/test/test_window_delegate.h"
8 #include "ui/aura/test/test_windows.h" 9 #include "ui/aura/test/test_windows.h"
9 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
10 #include "ui/aura_shell/shell.h" 11 #include "ui/aura_shell/shell.h"
11 #include "ui/aura_shell/shell_accelerator_controller.h" 12 #include "ui/aura_shell/shell_accelerator_controller.h"
12 #include "ui/aura_shell/shell_window_ids.h" 13 #include "ui/aura_shell/shell_window_ids.h"
13 #include "ui/aura_shell/test/aura_shell_test_base.h" 14 #include "ui/aura_shell/test/aura_shell_test_base.h"
14 #include "ui/aura_shell/window_util.h"
15 15
16 #if defined(USE_X11) 16 #if defined(USE_X11)
17 #include <X11/Xlib.h> 17 #include <X11/Xlib.h>
18 #include "ui/base/x/x11_util.h" 18 #include "ui/base/x/x11_util.h"
19 #endif 19 #endif
20 20
21 namespace aura_shell { 21 namespace aura_shell {
22 namespace test { 22 namespace test {
23 23
24 namespace { 24 namespace {
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 lock_modal_window->Show(); 324 lock_modal_window->Show();
325 EXPECT_FALSE(GetController()->Process(cycle_forward)); 325 EXPECT_FALSE(GetController()->Process(cycle_forward));
326 EXPECT_FALSE(GetController()->Process(cycle_backward)); 326 EXPECT_FALSE(GetController()->Process(cycle_backward));
327 lock_screen_window->Hide(); 327 lock_screen_window->Hide();
328 EXPECT_TRUE(GetController()->Process(cycle_forward)); 328 EXPECT_TRUE(GetController()->Process(cycle_forward));
329 EXPECT_TRUE(GetController()->Process(cycle_backward)); 329 EXPECT_TRUE(GetController()->Process(cycle_backward));
330 } 330 }
331 331
332 } // namespace test 332 } // namespace test
333 } // namespace aura_shell 333 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ui/aura_shell/shell_accelerator_controller.cc ('k') | ui/aura_shell/test/test_activation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698