OLD | NEW |
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 UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "mojo/public/cpp/bindings/strong_binding.h" | 22 #include "mojo/public/cpp/bindings/strong_binding.h" |
23 #include "services/ui/public/interfaces/window_tree.mojom.h" | 23 #include "services/ui/public/interfaces/window_tree.mojom.h" |
24 #include "ui/aura/aura_export.h" | 24 #include "ui/aura/aura_export.h" |
25 #include "ui/aura/client/transient_window_client_observer.h" | 25 #include "ui/aura/client/transient_window_client_observer.h" |
26 #include "ui/aura/mus/capture_synchronizer_delegate.h" | 26 #include "ui/aura/mus/capture_synchronizer_delegate.h" |
27 #include "ui/aura/mus/drag_drop_controller_host.h" | 27 #include "ui/aura/mus/drag_drop_controller_host.h" |
28 #include "ui/aura/mus/focus_synchronizer_delegate.h" | 28 #include "ui/aura/mus/focus_synchronizer_delegate.h" |
29 #include "ui/aura/mus/mus_types.h" | 29 #include "ui/aura/mus/mus_types.h" |
30 #include "ui/aura/mus/window_manager_delegate.h" | 30 #include "ui/aura/mus/window_manager_delegate.h" |
31 #include "ui/aura/mus/window_tree_host_mus_delegate.h" | 31 #include "ui/aura/mus/window_tree_host_mus_delegate.h" |
| 32 #include "ui/base/ui_base_types.h" |
32 | 33 |
33 namespace base { | 34 namespace base { |
34 class Thread; | 35 class Thread; |
35 } | 36 } |
36 | 37 |
37 namespace discardable_memory { | 38 namespace discardable_memory { |
38 class ClientDiscardableSharedMemoryManager; | 39 class ClientDiscardableSharedMemoryManager; |
39 } | 40 } |
40 | 41 |
41 namespace display { | 42 namespace display { |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 void WmDisplayRemoved(int64_t display_id) override; | 398 void WmDisplayRemoved(int64_t display_id) override; |
398 void WmDisplayModified(const display::Display& display) override; | 399 void WmDisplayModified(const display::Display& display) override; |
399 void WmSetBounds(uint32_t change_id, | 400 void WmSetBounds(uint32_t change_id, |
400 Id window_id, | 401 Id window_id, |
401 const gfx::Rect& transit_bounds_in_pixels) override; | 402 const gfx::Rect& transit_bounds_in_pixels) override; |
402 void WmSetProperty( | 403 void WmSetProperty( |
403 uint32_t change_id, | 404 uint32_t change_id, |
404 Id window_id, | 405 Id window_id, |
405 const std::string& name, | 406 const std::string& name, |
406 const base::Optional<std::vector<uint8_t>>& transit_data) override; | 407 const base::Optional<std::vector<uint8_t>>& transit_data) override; |
| 408 void WmSetModalType(Id window_id, ui::ModalType type) override; |
407 void WmSetCanFocus(Id window_id, bool can_focus) override; | 409 void WmSetCanFocus(Id window_id, bool can_focus) override; |
408 void WmCreateTopLevelWindow( | 410 void WmCreateTopLevelWindow( |
409 uint32_t change_id, | 411 uint32_t change_id, |
410 ClientSpecificId requesting_client_id, | 412 ClientSpecificId requesting_client_id, |
411 const std::unordered_map<std::string, std::vector<uint8_t>>& | 413 const std::unordered_map<std::string, std::vector<uint8_t>>& |
412 transport_properties) override; | 414 transport_properties) override; |
413 void WmClientJankinessChanged(ClientSpecificId client_id, | 415 void WmClientJankinessChanged(ClientSpecificId client_id, |
414 bool janky) override; | 416 bool janky) override; |
415 void WmPerformMoveLoop(uint32_t change_id, | 417 void WmPerformMoveLoop(uint32_t change_id, |
416 Id window_id, | 418 Id window_id, |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 // ContextFactory that was set on Env originally. | 571 // ContextFactory that was set on Env originally. |
570 ui::ContextFactory* initial_context_factory_ = nullptr; | 572 ui::ContextFactory* initial_context_factory_ = nullptr; |
571 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 573 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
572 | 574 |
573 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 575 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
574 }; | 576 }; |
575 | 577 |
576 } // namespace aura | 578 } // namespace aura |
577 | 579 |
578 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ | 580 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ |
OLD | NEW |