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 "components/exo/touch.h" | 5 #include "components/exo/touch.h" |
6 | 6 |
7 #include "ash/public/cpp/shell_window_ids.h" | 7 #include "ash/public/cpp/shell_window_ids.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "ash/shell_port.h" | 9 #include "ash/shell_port.h" |
10 #include "ash/wm/window_positioner.h" | 10 #include "ash/wm/window_positioner.h" |
11 #include "ash/wm/window_positioning_utils.h" | 11 #include "ash/wm/window_positioning_utils.h" |
12 #include "ash/wm_window.h" | |
13 #include "components/exo/buffer.h" | 12 #include "components/exo/buffer.h" |
14 #include "components/exo/shell_surface.h" | 13 #include "components/exo/shell_surface.h" |
15 #include "components/exo/surface.h" | 14 #include "components/exo/surface.h" |
16 #include "components/exo/test/exo_test_base.h" | 15 #include "components/exo/test/exo_test_base.h" |
17 #include "components/exo/test/exo_test_helper.h" | 16 #include "components/exo/test/exo_test_helper.h" |
18 #include "components/exo/touch_delegate.h" | 17 #include "components/exo/touch_delegate.h" |
19 #include "components/exo/touch_stylus_delegate.h" | 18 #include "components/exo/touch_stylus_delegate.h" |
20 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
21 #include "ui/events/base_event_utils.h" | 20 #include "ui/events/base_event_utils.h" |
22 #include "ui/events/test/event_generator.h" | 21 #include "ui/events/test/event_generator.h" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 generator.SetTouchTilt(1.0, 2.0); | 393 generator.SetTouchTilt(1.0, 2.0); |
395 generator.PressTouch(); | 394 generator.PressTouch(); |
396 generator.ReleaseTouch(); | 395 generator.ReleaseTouch(); |
397 | 396 |
398 EXPECT_CALL(delegate, OnTouchDestroying(touch.get())); | 397 EXPECT_CALL(delegate, OnTouchDestroying(touch.get())); |
399 touch.reset(); | 398 touch.reset(); |
400 } | 399 } |
401 | 400 |
402 } // namespace | 401 } // namespace |
403 } // namespace exo | 402 } // namespace exo |
OLD | NEW |