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

Side by Side Diff: services/ui/ws/window_tree.h

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/ws/window_manager_state.cc ('k') | services/ui/ws/window_tree.cc » ('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 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 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_
6 #define SERVICES_UI_WS_WINDOW_TREE_H_ 6 #define SERVICES_UI_WS_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 void GetWindowManagerClient( 441 void GetWindowManagerClient(
442 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) 442 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal)
443 override; 443 override;
444 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) 444 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback)
445 override; 445 override;
446 void PerformDragDrop(uint32_t change_id, 446 void PerformDragDrop(uint32_t change_id,
447 Id source_window_id, 447 Id source_window_id,
448 int32_t drag_pointer, 448 int32_t drag_pointer,
449 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, 449 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data,
450 uint32_t drag_operation) override; 450 uint32_t drag_operation) override;
451 void CancelDragDrop(Id window_id) override;
451 void PerformWindowMove(uint32_t change_id, 452 void PerformWindowMove(uint32_t change_id,
452 Id window_id, 453 Id window_id,
453 ui::mojom::MoveLoopSource source, 454 ui::mojom::MoveLoopSource source,
454 const gfx::Point& cursor) override; 455 const gfx::Point& cursor) override;
455 void CancelWindowMove(Id window_id) override; 456 void CancelWindowMove(Id window_id) override;
456 457
457 // mojom::WindowManagerClient: 458 // mojom::WindowManagerClient:
458 void AddAccelerator(uint32_t id, 459 void AddAccelerator(uint32_t id,
459 mojom::EventMatcherPtr event_matcher, 460 mojom::EventMatcherPtr event_matcher,
460 const AddAcceleratorCallback& callback) override; 461 const AddAcceleratorCallback& callback) override;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 waiting_for_top_level_window_info_; 568 waiting_for_top_level_window_info_;
568 bool embedder_intercepts_events_ = false; 569 bool embedder_intercepts_events_ = false;
569 570
570 DISALLOW_COPY_AND_ASSIGN(WindowTree); 571 DISALLOW_COPY_AND_ASSIGN(WindowTree);
571 }; 572 };
572 573
573 } // namespace ws 574 } // namespace ws
574 } // namespace ui 575 } // namespace ui
575 576
576 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 577 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_state.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698