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

Side by Side Diff: components/mus/ws/window_tree.cc

Issue 2092843002: Implement CompositorFrame Struct Traits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete code 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
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 #include "components/mus/ws/window_tree.h" 5 #include "components/mus/ws/window_tree.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "components/mus/public/cpp/surfaces/surfaces_type_converters.h"
16 #include "components/mus/ws/default_access_policy.h" 15 #include "components/mus/ws/default_access_policy.h"
17 #include "components/mus/ws/display.h" 16 #include "components/mus/ws/display.h"
18 #include "components/mus/ws/display_manager.h" 17 #include "components/mus/ws/display_manager.h"
19 #include "components/mus/ws/event_matcher.h" 18 #include "components/mus/ws/event_matcher.h"
20 #include "components/mus/ws/focus_controller.h" 19 #include "components/mus/ws/focus_controller.h"
21 #include "components/mus/ws/operation.h" 20 #include "components/mus/ws/operation.h"
22 #include "components/mus/ws/platform_display.h" 21 #include "components/mus/ws/platform_display.h"
23 #include "components/mus/ws/server_window.h" 22 #include "components/mus/ws/server_window.h"
24 #include "components/mus/ws/server_window_observer.h" 23 #include "components/mus/ws/server_window_observer.h"
25 #include "components/mus/ws/user_display_manager.h" 24 #include "components/mus/ws/user_display_manager.h"
(...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after
1527 } 1526 }
1528 1527
1529 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy( 1528 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy(
1530 const ServerWindow* window) const { 1529 const ServerWindow* window) const {
1531 WindowTree* tree = window_server_->GetTreeWithRoot(window); 1530 WindowTree* tree = window_server_->GetTreeWithRoot(window);
1532 return tree && tree != this; 1531 return tree && tree != this;
1533 } 1532 }
1534 1533
1535 } // namespace ws 1534 } // namespace ws
1536 } // namespace mus 1535 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698