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

Side by Side Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2349973010: mus drag and drop: return the completed effect to the caller. (Closed)
Patch Set: Rename some effect_taken to action_taken for consistency. 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/ws/window_tree.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 NOTIMPLEMENTED(); 392 NOTIMPLEMENTED();
393 } 393 }
394 void OnDragLeave(uint32_t window) override { NOTIMPLEMENTED(); } 394 void OnDragLeave(uint32_t window) override { NOTIMPLEMENTED(); }
395 void OnCompleteDrop(uint32_t window, 395 void OnCompleteDrop(uint32_t window,
396 uint32_t key_state, 396 uint32_t key_state,
397 const gfx::Point& position, 397 const gfx::Point& position,
398 uint32_t effect_bitmask, 398 uint32_t effect_bitmask,
399 const OnCompleteDropCallback& callback) override { 399 const OnCompleteDropCallback& callback) override {
400 NOTIMPLEMENTED(); 400 NOTIMPLEMENTED();
401 } 401 }
402
403 void OnPerformDragDropCompleted(uint32_t window,
404 bool success,
405 uint32_t action_taken) override {
406 NOTIMPLEMENTED();
407 }
408
402 void OnDragDropDone() override { NOTIMPLEMENTED(); } 409 void OnDragDropDone() override { NOTIMPLEMENTED(); }
403 410
404 void OnChangeCompleted(uint32_t change_id, bool success) override { 411 void OnChangeCompleted(uint32_t change_id, bool success) override {
405 if (waiting_change_id_ == change_id && change_completed_run_loop_) { 412 if (waiting_change_id_ == change_id && change_completed_run_loop_) {
406 on_change_completed_result_ = success; 413 on_change_completed_result_ = success;
407 change_completed_run_loop_->Quit(); 414 change_completed_run_loop_->Quit();
408 } 415 }
409 } 416 }
410 void RequestClose(uint32_t window_id) override {} 417 void RequestClose(uint32_t window_id) override {}
411 void GetWindowManager(mojo::AssociatedInterfaceRequest<mojom::WindowManager> 418 void GetWindowManager(mojo::AssociatedInterfaceRequest<mojom::WindowManager>
(...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 2118
2112 // TODO(sky): make sure coverage of what was 2119 // TODO(sky): make sure coverage of what was
2113 // WindowManagerTest.SecondEmbedRoot_InitService and 2120 // WindowManagerTest.SecondEmbedRoot_InitService and
2114 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window 2121 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window
2115 // manager 2122 // manager
2116 // tests. 2123 // tests.
2117 2124
2118 } // namespace test 2125 } // namespace test
2119 } // namespace ws 2126 } // namespace ws
2120 } // namespace ui 2127 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698