| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |