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

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

Issue 2349973010: mus drag and drop: return the completed effect to the caller. (Closed)
Patch Set: 80 chars 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
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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 Id transport_window_id) override; 477 Id transport_window_id) override;
478 void OnAcceleratorAck(uint32_t event_id, mojom::EventResult result) override; 478 void OnAcceleratorAck(uint32_t event_id, mojom::EventResult result) override;
479 479
480 // AccessPolicyDelegate: 480 // AccessPolicyDelegate:
481 bool HasRootForAccessPolicy(const ServerWindow* window) const override; 481 bool HasRootForAccessPolicy(const ServerWindow* window) const override;
482 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override; 482 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override;
483 bool IsWindowRootOfAnotherTreeForAccessPolicy( 483 bool IsWindowRootOfAnotherTreeForAccessPolicy(
484 const ServerWindow* window) const override; 484 const ServerWindow* window) const override;
485 485
486 // DragSource: 486 // DragSource:
487 void OnDragCompleted(bool success) override; 487 void OnDragCompleted(bool success, uint32_t action_taken) override;
488 ServerWindow* GetWindowById(const WindowId& id) override; 488 ServerWindow* GetWindowById(const WindowId& id) override;
489 DragTargetConnection* GetDragTargetForWindow( 489 DragTargetConnection* GetDragTargetForWindow(
490 const ServerWindow* window) override; 490 const ServerWindow* window) override;
491 491
492 // DragTargetConnection: 492 // DragTargetConnection:
493 void PerformOnDragDropStart( 493 void PerformOnDragDropStart(
494 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) override; 494 mojo::Map<mojo::String, mojo::Array<uint8_t>> mime_data) override;
495 void PerformOnDragEnter( 495 void PerformOnDragEnter(
496 const ServerWindow* window, 496 const ServerWindow* window,
497 uint32_t event_flags, 497 uint32_t event_flags,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 waiting_for_top_level_window_info_; 567 waiting_for_top_level_window_info_;
568 bool embedder_intercepts_events_ = false; 568 bool embedder_intercepts_events_ = false;
569 569
570 DISALLOW_COPY_AND_ASSIGN(WindowTree); 570 DISALLOW_COPY_AND_ASSIGN(WindowTree);
571 }; 571 };
572 572
573 } // namespace ws 573 } // namespace ws
574 } // namespace ui 574 } // namespace ui
575 575
576 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 576 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698