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_positioner.h" |
5 #include "ash/shell.h" | 6 #include "ash/shell.h" |
6 #include "ash/wm/common/window_positioner.h" | |
7 #include "ash/wm/window_util.h" | 7 #include "ash/wm/window_util.h" |
8 #include "components/exo/buffer.h" | 8 #include "components/exo/buffer.h" |
9 #include "components/exo/shell_surface.h" | 9 #include "components/exo/shell_surface.h" |
10 #include "components/exo/surface.h" | 10 #include "components/exo/surface.h" |
11 #include "components/exo/test/exo_test_base.h" | 11 #include "components/exo/test/exo_test_base.h" |
12 #include "components/exo/test/exo_test_helper.h" | 12 #include "components/exo/test/exo_test_helper.h" |
13 #include "components/exo/touch.h" | 13 #include "components/exo/touch.h" |
14 #include "components/exo/touch_delegate.h" | 14 #include "components/exo/touch_delegate.h" |
15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
16 #include "ui/events/test/event_generator.h" | 16 #include "ui/events/test/event_generator.h" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 ui::TouchEvent cancel_event(ui::ET_TOUCH_CANCELLED, gfx::Point(), 1, | 176 ui::TouchEvent cancel_event(ui::ET_TOUCH_CANCELLED, gfx::Point(), 1, |
177 generator.Now()); | 177 generator.Now()); |
178 generator.Dispatch(&cancel_event); | 178 generator.Dispatch(&cancel_event); |
179 | 179 |
180 EXPECT_CALL(delegate, OnTouchDestroying(touch.get())); | 180 EXPECT_CALL(delegate, OnTouchDestroying(touch.get())); |
181 touch.reset(); | 181 touch.reset(); |
182 } | 182 } |
183 | 183 |
184 } // namespace | 184 } // namespace |
185 } // namespace exo | 185 } // namespace exo |
OLD | NEW |