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

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

Issue 2352233002: mus drag and drop: Add API to let the client cancel the drag. (Closed)
Patch Set: A bunch of dvlogs Created 4 years, 3 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 177 int32_t drag_pointer,
178 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, 178 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data,
179 uint32_t drag_operation) {} 179 uint32_t drag_operation) {}
180 180
181 void TestWindowTree::CancelDragDrop(uint32_t window_id) {}
182
181 void TestWindowTree::PerformWindowMove(uint32_t change_id, 183 void TestWindowTree::PerformWindowMove(uint32_t change_id,
182 uint32_t window_id, 184 uint32_t window_id,
183 mojom::MoveLoopSource source, 185 mojom::MoveLoopSource source,
184 const gfx::Point& cursor_location) {} 186 const gfx::Point& cursor_location) {}
185 187
186 void TestWindowTree::CancelWindowMove(uint32_t window_id) {} 188 void TestWindowTree::CancelWindowMove(uint32_t window_id) {}
187 189
188 } // namespace ui 190 } // 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