| 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/wm/toplevel_window_event_handler.h" | 5 #include "ash/wm/toplevel_window_event_handler.h" |
| 6 | 6 |
| 7 #include "ash/root_window_controller.h" | 7 #include "ash/root_window_controller.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ash/shell_window_ids.h" | 9 #include "ash/shell_window_ids.h" |
| 10 #include "ash/test/ash_test_base.h" | 10 #include "ash/test/ash_test_base.h" |
| 11 #include "ash/wm/lock_state_controller.h" | 11 #include "ash/wm/lock_state_controller.h" |
| 12 #include "ash/wm/resize_shadow.h" | 12 #include "ash/wm/resize_shadow.h" |
| 13 #include "ash/wm/resize_shadow_controller.h" | 13 #include "ash/wm/resize_shadow_controller.h" |
| 14 #include "ash/wm/window_state.h" | 14 #include "ash/wm/window_state.h" |
| 15 #include "ash/wm/window_util.h" | 15 #include "ash/wm/window_util.h" |
| 16 #include "ash/wm/workspace_controller.h" | 16 #include "ash/wm/workspace_controller.h" |
| 17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
| 18 #include "base/compiler_specific.h" | 18 #include "base/compiler_specific.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 20 #include "ui/aura/client/aura_constants.h" | 20 #include "ui/aura/client/aura_constants.h" |
| 21 #include "ui/aura/client/window_move_client.h" | 21 #include "ui/aura/client/window_move_client.h" |
| 22 #include "ui/aura/test/aura_test_base.h" | 22 #include "ui/aura/test/aura_test_base.h" |
| 23 #include "ui/aura/test/event_generator.h" | 23 #include "ui/aura/test/event_generator.h" |
| 24 #include "ui/aura/test/test_window_delegate.h" | 24 #include "ui/aura/test/test_window_delegate.h" |
| 25 #include "ui/aura/window_event_dispatcher.h" | 25 #include "ui/aura/window_event_dispatcher.h" |
| 26 #include "ui/base/hit_test.h" | 26 #include "ui/base/hit_test.h" |
| 27 #include "ui/events/event.h" | 27 #include "ui/events/event.h" |
| 28 #include "ui/gfx/screen.h" | 28 #include "ui/gfx/screen.h" |
| 29 #include "ui/views/corewm/window_util.h" | 29 #include "ui/wm/core/window_util.h" |
| 30 | 30 |
| 31 #if defined(OS_WIN) | 31 #if defined(OS_WIN) |
| 32 // Windows headers define macros for these function names which screw with us. | 32 // Windows headers define macros for these function names which screw with us. |
| 33 #if defined(CreateWindow) | 33 #if defined(CreateWindow) |
| 34 #undef CreateWindow | 34 #undef CreateWindow |
| 35 #endif | 35 #endif |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 namespace ash { | 38 namespace ash { |
| 39 namespace test { | 39 namespace test { |
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 | 703 |
| 704 generator.ReleaseLeftButton(); | 704 generator.ReleaseLeftButton(); |
| 705 EXPECT_EQ("10,11 100x100", window1->bounds().ToString()); | 705 EXPECT_EQ("10,11 100x100", window1->bounds().ToString()); |
| 706 } | 706 } |
| 707 | 707 |
| 708 // Showing the resize shadows when the mouse is over the window edges is tested | 708 // Showing the resize shadows when the mouse is over the window edges is tested |
| 709 // in resize_shadow_and_cursor_test.cc | 709 // in resize_shadow_and_cursor_test.cc |
| 710 | 710 |
| 711 } // namespace test | 711 } // namespace test |
| 712 } // namespace ash | 712 } // namespace ash |
| OLD | NEW |