| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/common/wm/window_positioning_utils.h" | |
| 6 #include "ash/common/wm_shell.h" | |
| 7 #include "ash/common/wm_window.h" | |
| 8 #include "ash/public/cpp/shell_window_ids.h" | 5 #include "ash/public/cpp/shell_window_ids.h" |
| 9 #include "ash/shell.h" | 6 #include "ash/shell.h" |
| 7 #include "ash/wm/window_positioning_utils.h" |
| 8 #include "ash/wm_shell.h" |
| 9 #include "ash/wm_window.h" |
| 10 #include "components/exo/buffer.h" | 10 #include "components/exo/buffer.h" |
| 11 #include "components/exo/pointer.h" | 11 #include "components/exo/pointer.h" |
| 12 #include "components/exo/pointer_delegate.h" | 12 #include "components/exo/pointer_delegate.h" |
| 13 #include "components/exo/shell_surface.h" | 13 #include "components/exo/shell_surface.h" |
| 14 #include "components/exo/surface.h" | 14 #include "components/exo/surface.h" |
| 15 #include "components/exo/test/exo_test_base.h" | 15 #include "components/exo/test/exo_test_base.h" |
| 16 #include "components/exo/test/exo_test_helper.h" | 16 #include "components/exo/test/exo_test_helper.h" |
| 17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
| 18 #include "ui/events/event_utils.h" | 18 #include "ui/events/event_utils.h" |
| 19 #include "ui/events/test/event_generator.h" | 19 #include "ui/events/test/event_generator.h" |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 EXPECT_CALL(delegate, OnPointerLeave(surface.get())); | 446 EXPECT_CALL(delegate, OnPointerLeave(surface.get())); |
| 447 } | 447 } |
| 448 generator.MoveMouseTo(surface->window()->GetBoundsInScreen().bottom_right()); | 448 generator.MoveMouseTo(surface->window()->GetBoundsInScreen().bottom_right()); |
| 449 | 449 |
| 450 EXPECT_CALL(delegate, OnPointerDestroying(pointer.get())); | 450 EXPECT_CALL(delegate, OnPointerDestroying(pointer.get())); |
| 451 pointer.reset(); | 451 pointer.reset(); |
| 452 } | 452 } |
| 453 | 453 |
| 454 } // namespace | 454 } // namespace |
| 455 } // namespace exo | 455 } // namespace exo |
| OLD | NEW |