Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Side by Side Diff: services/ui/public/cpp/tests/test_window_tree.cc

Issue 2323553002: mash: Use the new mus drag and drop API to get drag working in mash. (Closed)
Patch Set: comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.h ('k') | services/ui/public/cpp/window.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « services/ui/public/cpp/tests/test_window_tree.h ('k') | services/ui/public/cpp/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698