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

Side by Side Diff: ui/aura/mus/window_tree_client.h

Issue 2745143004: Inform window manager about modal windows in mus+ash. (Closed)
Patch Set: . Created 3 years, 9 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 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
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 display { 34 namespace display {
34 class Display; 35 class Display;
35 } 36 }
36 37
37 namespace gfx { 38 namespace gfx {
38 class Insets; 39 class Insets;
39 } 40 }
40 41
41 namespace service_manager { 42 namespace service_manager {
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 void WmDisplayRemoved(int64_t display_id) override; 385 void WmDisplayRemoved(int64_t display_id) override;
385 void WmDisplayModified(const display::Display& display) override; 386 void WmDisplayModified(const display::Display& display) override;
386 void WmSetBounds(uint32_t change_id, 387 void WmSetBounds(uint32_t change_id,
387 Id window_id, 388 Id window_id,
388 const gfx::Rect& transit_bounds_in_pixels) override; 389 const gfx::Rect& transit_bounds_in_pixels) override;
389 void WmSetProperty( 390 void WmSetProperty(
390 uint32_t change_id, 391 uint32_t change_id,
391 Id window_id, 392 Id window_id,
392 const std::string& name, 393 const std::string& name,
393 const base::Optional<std::vector<uint8_t>>& transit_data) override; 394 const base::Optional<std::vector<uint8_t>>& transit_data) override;
395 void WmSetModalType(uint32_t change_id,
396 Id window_id,
397 ui::ModalType type) override;
394 void WmSetCanFocus(Id window_id, bool can_focus) override; 398 void WmSetCanFocus(Id window_id, bool can_focus) override;
395 void WmCreateTopLevelWindow( 399 void WmCreateTopLevelWindow(
396 uint32_t change_id, 400 uint32_t change_id,
397 ClientSpecificId requesting_client_id, 401 ClientSpecificId requesting_client_id,
398 const std::unordered_map<std::string, std::vector<uint8_t>>& 402 const std::unordered_map<std::string, std::vector<uint8_t>>&
399 transport_properties) override; 403 transport_properties) override;
400 void WmClientJankinessChanged(ClientSpecificId client_id, 404 void WmClientJankinessChanged(ClientSpecificId client_id,
401 bool janky) override; 405 bool janky) override;
402 void WmPerformMoveLoop(uint32_t change_id, 406 void WmPerformMoveLoop(uint32_t change_id,
403 Id window_id, 407 Id window_id,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 // ContextFactory that was set on Env originally. 554 // ContextFactory that was set on Env originally.
551 ui::ContextFactory* initial_context_factory_ = nullptr; 555 ui::ContextFactory* initial_context_factory_ = nullptr;
552 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 556 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
553 557
554 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 558 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
555 }; 559 };
556 560
557 } // namespace aura 561 } // namespace aura
558 562
559 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 563 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698