OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdint.h> |
| 6 |
5 #include <string> | 7 #include <string> |
6 #include <vector> | 8 #include <vector> |
7 | 9 |
| 10 #include "base/macros.h" |
8 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
9 #include "components/mus/common/types.h" | 12 #include "components/mus/common/types.h" |
10 #include "components/mus/common/util.h" | 13 #include "components/mus/common/util.h" |
11 #include "components/mus/public/interfaces/window_tree.mojom.h" | 14 #include "components/mus/public/interfaces/window_tree.mojom.h" |
12 #include "components/mus/surfaces/surfaces_state.h" | 15 #include "components/mus/surfaces/surfaces_state.h" |
13 #include "components/mus/ws/client_connection.h" | 16 #include "components/mus/ws/client_connection.h" |
14 #include "components/mus/ws/connection_manager.h" | 17 #include "components/mus/ws/connection_manager.h" |
15 #include "components/mus/ws/connection_manager_delegate.h" | 18 #include "components/mus/ws/connection_manager_delegate.h" |
16 #include "components/mus/ws/display_manager.h" | 19 #include "components/mus/ws/display_manager.h" |
17 #include "components/mus/ws/display_manager_factory.h" | 20 #include "components/mus/ws/display_manager_factory.h" |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 // Ack the first event. That should trigger the dispatch of the second event. | 716 // Ack the first event. That should trigger the dispatch of the second event. |
714 AckPreviousEvent(); | 717 AckPreviousEvent(); |
715 ASSERT_EQ(1u, wm_client()->tracker()->changes()->size()); | 718 ASSERT_EQ(1u, wm_client()->tracker()->changes()->size()); |
716 EXPECT_EQ("InputEvent window=0,2 event_action=5", | 719 EXPECT_EQ("InputEvent window=0,2 event_action=5", |
717 ChangesToDescription1(*wm_client()->tracker()->changes())[0]); | 720 ChangesToDescription1(*wm_client()->tracker()->changes())[0]); |
718 } | 721 } |
719 | 722 |
720 } // namespace ws | 723 } // namespace ws |
721 | 724 |
722 } // namespace mus | 725 } // namespace mus |
OLD | NEW |