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

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

Issue 2633233003: aura-mus: Implement stacking in DesktopWindowTreeHostMus. (Closed)
Patch Set: Reword comment. Created 3 years, 11 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_access_policy.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 OnWindowInputEventAck(uint32_t event_id, 438 void OnWindowInputEventAck(uint32_t event_id,
439 mojom::EventResult result) override; 439 mojom::EventResult result) override;
440 void DeactivateWindow(Id window_id) override; 440 void DeactivateWindow(Id window_id) override;
441 void SetClientArea(Id transport_window_id, 441 void SetClientArea(Id transport_window_id,
442 const gfx::Insets& insets, 442 const gfx::Insets& insets,
443 const base::Optional<std::vector<gfx::Rect>>& 443 const base::Optional<std::vector<gfx::Rect>>&
444 transport_additional_client_areas) override; 444 transport_additional_client_areas) override;
445 void SetCanAcceptDrops(Id window_id, bool accepts_drops) override; 445 void SetCanAcceptDrops(Id window_id, bool accepts_drops) override;
446 void SetHitTestMask(Id transport_window_id, 446 void SetHitTestMask(Id transport_window_id,
447 const base::Optional<gfx::Rect>& mask) override; 447 const base::Optional<gfx::Rect>& mask) override;
448 void StackAtTop(uint32_t change_id, Id window_id) override;
448 void GetWindowManagerClient( 449 void GetWindowManagerClient(
449 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal) 450 mojo::AssociatedInterfaceRequest<mojom::WindowManagerClient> internal)
450 override; 451 override;
451 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback) 452 void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback)
452 override; 453 override;
453 void PerformDragDrop( 454 void PerformDragDrop(
454 uint32_t change_id, 455 uint32_t change_id,
455 Id source_window_id, 456 Id source_window_id,
456 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data, 457 const std::unordered_map<std::string, std::vector<uint8_t>>& drag_data,
457 uint32_t drag_operation) override; 458 uint32_t drag_operation) override;
(...skipping 24 matching lines...) Expand all
482 mojom::Cursor cursor_id) override; 483 mojom::Cursor cursor_id) override;
483 void OnWmCreatedTopLevelWindow(uint32_t change_id, 484 void OnWmCreatedTopLevelWindow(uint32_t change_id,
484 Id transport_window_id) override; 485 Id transport_window_id) override;
485 void OnAcceleratorAck(uint32_t event_id, mojom::EventResult result) override; 486 void OnAcceleratorAck(uint32_t event_id, mojom::EventResult result) override;
486 487
487 // AccessPolicyDelegate: 488 // AccessPolicyDelegate:
488 bool HasRootForAccessPolicy(const ServerWindow* window) const override; 489 bool HasRootForAccessPolicy(const ServerWindow* window) const override;
489 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override; 490 bool IsWindowKnownForAccessPolicy(const ServerWindow* window) const override;
490 bool IsWindowRootOfAnotherTreeForAccessPolicy( 491 bool IsWindowRootOfAnotherTreeForAccessPolicy(
491 const ServerWindow* window) const override; 492 const ServerWindow* window) const override;
493 bool IsWindowCreatedByWindowManager(
494 const ServerWindow* window) const override;
492 495
493 // DragSource: 496 // DragSource:
494 void OnDragCompleted(bool success, uint32_t action_taken) override; 497 void OnDragCompleted(bool success, uint32_t action_taken) override;
495 ServerWindow* GetWindowById(const WindowId& id) override; 498 ServerWindow* GetWindowById(const WindowId& id) override;
496 DragTargetConnection* GetDragTargetForWindow( 499 DragTargetConnection* GetDragTargetForWindow(
497 const ServerWindow* window) override; 500 const ServerWindow* window) override;
498 501
499 // DragTargetConnection: 502 // DragTargetConnection:
500 void PerformOnDragDropStart( 503 void PerformOnDragDropStart(
501 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data) 504 const std::unordered_map<std::string, std::vector<uint8_t>>& mime_data)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 waiting_for_top_level_window_info_; 580 waiting_for_top_level_window_info_;
578 bool embedder_intercepts_events_ = false; 581 bool embedder_intercepts_events_ = false;
579 582
580 DISALLOW_COPY_AND_ASSIGN(WindowTree); 583 DISALLOW_COPY_AND_ASSIGN(WindowTree);
581 }; 584 };
582 585
583 } // namespace ws 586 } // namespace ws
584 } // namespace ui 587 } // namespace ui
585 588
586 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 589 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_access_policy.cc ('k') | services/ui/ws/window_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698