| 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/mus/public/cpp/tests/test_window_tree.h" | 5 #include "components/mus/public/cpp/tests/test_window_tree.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 namespace mus { | 9 namespace mus { |
| 10 | 10 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 uint32_t transient_window_id) {} | 92 uint32_t transient_window_id) {} |
| 93 | 93 |
| 94 void TestWindowTree::ReorderWindow(uint32_t change_id, | 94 void TestWindowTree::ReorderWindow(uint32_t change_id, |
| 95 uint32_t window_id, | 95 uint32_t window_id, |
| 96 uint32_t relative_window_id, | 96 uint32_t relative_window_id, |
| 97 mojom::OrderDirection direction) {} | 97 mojom::OrderDirection direction) {} |
| 98 | 98 |
| 99 void TestWindowTree::GetWindowTree(uint32_t window_id, | 99 void TestWindowTree::GetWindowTree(uint32_t window_id, |
| 100 const GetWindowTreeCallback& callback) {} | 100 const GetWindowTreeCallback& callback) {} |
| 101 | 101 |
| 102 void TestWindowTree::SetCapture(uint32_t change_id, uint32_t window_id) {} |
| 103 |
| 104 void TestWindowTree::ReleaseCapture(uint32_t change_id, uint32_t window_id) {} |
| 105 |
| 102 void TestWindowTree::Embed(uint32_t window_id, | 106 void TestWindowTree::Embed(uint32_t window_id, |
| 103 mojom::WindowTreeClientPtr client, | 107 mojom::WindowTreeClientPtr client, |
| 104 uint32_t policy_bitmask, | 108 uint32_t policy_bitmask, |
| 105 const EmbedCallback& callback) {} | 109 const EmbedCallback& callback) {} |
| 106 | 110 |
| 107 void TestWindowTree::SetFocus(uint32_t change_id, uint32_t window_id) { | 111 void TestWindowTree::SetFocus(uint32_t change_id, uint32_t window_id) { |
| 108 got_change_ = true; | 112 got_change_ = true; |
| 109 change_id_ = change_id; | 113 change_id_ = change_id; |
| 110 } | 114 } |
| 111 | 115 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 124 | 128 |
| 125 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) { | 129 void TestWindowTree::OnWindowInputEventAck(uint32_t event_id) { |
| 126 EXPECT_FALSE(acked_events_.count(event_id)); | 130 EXPECT_FALSE(acked_events_.count(event_id)); |
| 127 acked_events_.insert(event_id); | 131 acked_events_.insert(event_id); |
| 128 } | 132 } |
| 129 | 133 |
| 130 void TestWindowTree::GetWindowManagerClient( | 134 void TestWindowTree::GetWindowManagerClient( |
| 131 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} | 135 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} |
| 132 | 136 |
| 133 } // namespace mus | 137 } // namespace mus |
| OLD | NEW |