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

Side by Side Diff: ash/mus/bridge/wm_window_mus.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « ash/mus/bridge/wm_window_mus.h ('k') | ash/mus/disconnected_app_handler.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "ash/mus/bridge/wm_window_mus.h" 5 #include "ash/mus/bridge/wm_window_mus.h"
6 6
7 #include "ash/common/wm/container_finder.h" 7 #include "ash/common/wm/container_finder.h"
8 #include "ash/common/wm/window_state.h" 8 #include "ash/common/wm/window_state.h"
9 #include "ash/common/wm_layout_manager.h" 9 #include "ash/common/wm_layout_manager.h"
10 #include "ash/common/wm_window_observer.h" 10 #include "ash/common/wm_window_observer.h"
11 #include "ash/common/wm_window_property.h" 11 #include "ash/common/wm_window_property.h"
12 #include "ash/mus/bridge/mus_layout_manager_adapter.h" 12 #include "ash/mus/bridge/mus_layout_manager_adapter.h"
13 #include "ash/mus/bridge/wm_root_window_controller_mus.h" 13 #include "ash/mus/bridge/wm_root_window_controller_mus.h"
14 #include "ash/mus/bridge/wm_shell_mus.h" 14 #include "ash/mus/bridge/wm_shell_mus.h"
15 #include "ash/mus/property_util.h" 15 #include "ash/mus/property_util.h"
16 #include "components/mus/public/cpp/property_type_converters.h" 16 #include "services/ui/public/cpp/property_type_converters.h"
17 #include "components/mus/public/cpp/window.h" 17 #include "services/ui/public/cpp/window.h"
18 #include "components/mus/public/cpp/window_property.h" 18 #include "services/ui/public/cpp/window_property.h"
19 #include "components/mus/public/cpp/window_tree_client.h" 19 #include "services/ui/public/cpp/window_tree_client.h"
20 #include "components/mus/public/interfaces/window_manager.mojom.h" 20 #include "services/ui/public/interfaces/window_manager.mojom.h"
21 #include "ui/aura/mus/mus_util.h" 21 #include "ui/aura/mus/mus_util.h"
22 #include "ui/base/hit_test.h" 22 #include "ui/base/hit_test.h"
23 #include "ui/display/display.h" 23 #include "ui/display/display.h"
24 #include "ui/views/widget/widget.h" 24 #include "ui/views/widget/widget.h"
25 #include "ui/views/widget/widget_delegate.h" 25 #include "ui/views/widget/widget_delegate.h"
26 26
27 MUS_DECLARE_WINDOW_PROPERTY_TYPE(ash::mus::WmWindowMus*); 27 MUS_DECLARE_WINDOW_PROPERTY_TYPE(ash::mus::WmWindowMus*);
28 28
29 // TODO(sky): fully implement this. Making DVLOG as too spammy to be useful. 29 // TODO(sky): fully implement this. Making DVLOG as too spammy to be useful.
30 #undef NOTIMPLEMENTED 30 #undef NOTIMPLEMENTED
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 void WmWindowMus::OnWindowDestroying(::mus::Window* window) { 774 void WmWindowMus::OnWindowDestroying(::mus::Window* window) {
775 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroying(this)); 775 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroying(this));
776 } 776 }
777 777
778 void WmWindowMus::OnWindowDestroyed(::mus::Window* window) { 778 void WmWindowMus::OnWindowDestroyed(::mus::Window* window) {
779 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this)); 779 FOR_EACH_OBSERVER(WmWindowObserver, observers_, OnWindowDestroyed(this));
780 } 780 }
781 781
782 } // namespace mus 782 } // namespace mus
783 } // namespace ash 783 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/mus/disconnected_app_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698