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 "services/ui/public/cpp/tests/test_window_tree.h" | 5 #include "services/ui/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 ui { | 9 namespace ui { |
10 | 10 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} | 167 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) {} |
168 | 168 |
169 void TestWindowTree::GetCursorLocationMemory( | 169 void TestWindowTree::GetCursorLocationMemory( |
170 const GetCursorLocationMemoryCallback& callback) { | 170 const GetCursorLocationMemoryCallback& callback) { |
171 callback.Run(mojo::ScopedSharedBufferHandle()); | 171 callback.Run(mojo::ScopedSharedBufferHandle()); |
172 } | 172 } |
173 | 173 |
174 void TestWindowTree::PerformDragDrop( | 174 void TestWindowTree::PerformDragDrop( |
175 uint32_t change_id, | 175 uint32_t change_id, |
176 uint32_t source_window_id, | 176 uint32_t source_window_id, |
177 int32_t drag_pointer, | |
178 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, | 177 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, |
179 uint32_t drag_operation) {} | 178 uint32_t drag_operation) {} |
180 | 179 |
181 void TestWindowTree::CancelDragDrop(uint32_t window_id) {} | 180 void TestWindowTree::CancelDragDrop(uint32_t window_id) {} |
182 | 181 |
183 void TestWindowTree::PerformWindowMove(uint32_t change_id, | 182 void TestWindowTree::PerformWindowMove(uint32_t change_id, |
184 uint32_t window_id, | 183 uint32_t window_id, |
185 mojom::MoveLoopSource source, | 184 mojom::MoveLoopSource source, |
186 const gfx::Point& cursor_location) {} | 185 const gfx::Point& cursor_location) {} |
187 | 186 |
188 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} | 187 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} |
189 | 188 |
190 } // namespace ui | 189 } // namespace ui |
OLD | NEW |