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

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

Issue 2266603002: mus: Implement interwindow drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove stray mark 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
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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 const String& name, 364 const String& name,
365 Array<uint8_t> new_data) override { 365 Array<uint8_t> new_data) override {
366 tracker_.OnWindowSharedPropertyChanged(window, name, std::move(new_data)); 366 tracker_.OnWindowSharedPropertyChanged(window, name, std::move(new_data));
367 } 367 }
368 // TODO(sky): add testing coverage. 368 // TODO(sky): add testing coverage.
369 void OnWindowFocused(uint32_t focused_window_id) override {} 369 void OnWindowFocused(uint32_t focused_window_id) override {}
370 void OnWindowPredefinedCursorChanged(uint32_t window_id, 370 void OnWindowPredefinedCursorChanged(uint32_t window_id,
371 mojom::Cursor cursor_id) override { 371 mojom::Cursor cursor_id) override {
372 tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id); 372 tracker_.OnWindowPredefinedCursorChanged(window_id, cursor_id);
373 } 373 }
374
375 void OnDragStart(
376 uint32_t window,
377 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data) override {
378 NOTIMPLEMENTED();
379 }
380
381 void OnDragEnter(uint32_t window,
382 uint32_t key_state,
383 const gfx::Point& position,
384 uint32_t effect_bitmask,
385 const OnDragEnterCallback& callback) override {
386 NOTIMPLEMENTED();
387 }
388 void OnDragOver(uint32_t window,
389 uint32_t key_state,
390 const gfx::Point& position,
391 uint32_t effect_bitmask,
392 const OnDragOverCallback& callback) override {
393 NOTIMPLEMENTED();
394 }
395 void OnDragLeave(uint32_t window) override { NOTIMPLEMENTED(); }
396 void OnDragDrop(uint32_t window,
397 uint32_t key_state,
398 const gfx::Point& position,
399 uint32_t effect_bitmask,
400 const OnDragDropCallback& callback) override {
401 NOTIMPLEMENTED();
402 }
403 void OnDragFinish(uint32_t window) override { NOTIMPLEMENTED(); }
404
374 void OnChangeCompleted(uint32_t change_id, bool success) override { 405 void OnChangeCompleted(uint32_t change_id, bool success) override {
375 if (waiting_change_id_ == change_id && change_completed_run_loop_) { 406 if (waiting_change_id_ == change_id && change_completed_run_loop_) {
376 on_change_completed_result_ = success; 407 on_change_completed_result_ = success;
377 change_completed_run_loop_->Quit(); 408 change_completed_run_loop_->Quit();
378 } 409 }
379 } 410 }
380 void RequestClose(uint32_t window_id) override {} 411 void RequestClose(uint32_t window_id) override {}
381 void GetWindowManager(mojo::AssociatedInterfaceRequest<mojom::WindowManager> 412 void GetWindowManager(mojo::AssociatedInterfaceRequest<mojom::WindowManager>
382 internal) override { 413 internal) override {
383 window_manager_binding_.reset( 414 window_manager_binding_.reset(
(...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after
2044 2075
2045 // TODO(sky): make sure coverage of what was 2076 // TODO(sky): make sure coverage of what was
2046 // WindowManagerTest.SecondEmbedRoot_InitService and 2077 // WindowManagerTest.SecondEmbedRoot_InitService and
2047 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window 2078 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window
2048 // manager 2079 // manager
2049 // tests. 2080 // tests.
2050 2081
2051 } // namespace test 2082 } // namespace test
2052 } // namespace ws 2083 } // namespace ws
2053 } // namespace ui 2084 } // namespace ui
OLDNEW
« services/ui/ws/window_manager_access_policy.cc ('K') | « services/ui/ws/window_tree.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698