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.h

Issue 2323553002: mash: Use the new mus drag and drop API to get drag working in mash. (Closed)
Patch Set: comments Created 4 years, 2 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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 void SetCanAcceptDrops(Id window_id, bool accepts_drops) override; 438 void SetCanAcceptDrops(Id window_id, bool accepts_drops) override;
439 void SetHitTestMask(Id transport_window_id, 439 void SetHitTestMask(Id transport_window_id,
440 const base::Optional<gfx::Rect>& mask) override; 440 const base::Optional<gfx::Rect>& mask) override;
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,
449 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data, 448 mojo::Map<mojo::String, mojo::Array<uint8_t>> drag_data,
450 uint32_t drag_operation) override; 449 uint32_t drag_operation) override;
451 void CancelDragDrop(Id window_id) override; 450 void CancelDragDrop(Id window_id) override;
452 void PerformWindowMove(uint32_t change_id, 451 void PerformWindowMove(uint32_t change_id,
453 Id window_id, 452 Id window_id,
454 ui::mojom::MoveLoopSource source, 453 ui::mojom::MoveLoopSource source,
455 const gfx::Point& cursor) override; 454 const gfx::Point& cursor) override;
456 void CancelWindowMove(Id window_id) override; 455 void CancelWindowMove(Id window_id) override;
457 456
458 // mojom::WindowManagerClient: 457 // mojom::WindowManagerClient:
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 waiting_for_top_level_window_info_; 567 waiting_for_top_level_window_info_;
569 bool embedder_intercepts_events_ = false; 568 bool embedder_intercepts_events_ = false;
570 569
571 DISALLOW_COPY_AND_ASSIGN(WindowTree); 570 DISALLOW_COPY_AND_ASSIGN(WindowTree);
572 }; 571 };
573 572
574 } // namespace ws 573 } // namespace ws
575 } // namespace ui 574 } // namespace ui
576 575
577 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 576 #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