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 namespace mus { | 7 namespace mus { |
8 | 8 |
9 TestWindowTree::TestWindowTree() : got_change_(false), change_id_(0) {} | 9 TestWindowTree::TestWindowTree() : got_change_(false), change_id_(0) {} |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 uint32_t transient_window_id) {} | 71 uint32_t transient_window_id) {} |
72 | 72 |
73 void TestWindowTree::ReorderWindow(uint32_t window_id, | 73 void TestWindowTree::ReorderWindow(uint32_t window_id, |
74 uint32_t relative_window_id, | 74 uint32_t relative_window_id, |
75 mojom::OrderDirection direction, | 75 mojom::OrderDirection direction, |
76 const ReorderWindowCallback& callback) {} | 76 const ReorderWindowCallback& callback) {} |
77 | 77 |
78 void TestWindowTree::GetWindowTree(uint32_t window_id, | 78 void TestWindowTree::GetWindowTree(uint32_t window_id, |
79 const GetWindowTreeCallback& callback) {} | 79 const GetWindowTreeCallback& callback) {} |
80 | 80 |
| 81 void TestWindowTree::SetCapture(uint32_t change_id, uint32_t window_id) {} |
| 82 |
| 83 void TestWindowTree::ReleaseCapture(uint32_t change_id, uint32_t window_id) {} |
| 84 |
81 void TestWindowTree::Embed(uint32_t window_id, | 85 void TestWindowTree::Embed(uint32_t window_id, |
82 mojom::WindowTreeClientPtr client, | 86 mojom::WindowTreeClientPtr client, |
83 uint32_t policy_bitmask, | 87 uint32_t policy_bitmask, |
84 const EmbedCallback& callback) {} | 88 const EmbedCallback& callback) {} |
85 | 89 |
86 void TestWindowTree::SetFocus(uint32_t window_id) {} | 90 void TestWindowTree::SetFocus(uint32_t window_id) {} |
87 | 91 |
88 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, | 92 void TestWindowTree::SetWindowTextInputState(uint32_t window_id, |
89 mojo::TextInputStatePtr state) {} | 93 mojo::TextInputStatePtr state) {} |
90 | 94 |
91 void TestWindowTree::SetImeVisibility(uint32_t window_id, | 95 void TestWindowTree::SetImeVisibility(uint32_t window_id, |
92 bool visible, | 96 bool visible, |
93 mojo::TextInputStatePtr state) {} | 97 mojo::TextInputStatePtr state) {} |
94 | 98 |
95 void TestWindowTree::SetPreferredSize( | 99 void TestWindowTree::SetPreferredSize( |
96 uint32_t window_id, | 100 uint32_t window_id, |
97 mojo::SizePtr size, | 101 mojo::SizePtr size, |
98 const SetPreferredSizeCallback& callback) {} | 102 const SetPreferredSizeCallback& callback) {} |
99 | 103 |
100 void TestWindowTree::SetShowState(uint32_t window_id, | 104 void TestWindowTree::SetShowState(uint32_t window_id, |
101 mojom::ShowState show_state, | 105 mojom::ShowState show_state, |
102 const SetShowStateCallback& callback) {} | 106 const SetShowStateCallback& callback) {} |
103 | 107 |
104 void TestWindowTree::SetResizeBehavior(uint32_t window_id, | 108 void TestWindowTree::SetResizeBehavior(uint32_t window_id, |
105 mojom::ResizeBehavior resize_behavior) {} | 109 mojom::ResizeBehavior resize_behavior) {} |
106 | 110 |
107 void TestWindowTree::WmResponse(uint32_t change_id, bool response) {} | 111 void TestWindowTree::WmResponse(uint32_t change_id, bool response) {} |
108 | 112 |
109 } // namespace mus | 113 } // namespace mus |
OLD | NEW |