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

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: Addressed dcheng's comments 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 | « components/mus/ws/window_server.cc ('k') | content/renderer/mus/BUILD.gn » ('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 #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 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1531 } 1530 }
1532 1531
1533 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy( 1532 bool WindowTree::IsWindowRootOfAnotherTreeForAccessPolicy(
1534 const ServerWindow* window) const { 1533 const ServerWindow* window) const {
1535 WindowTree* tree = window_server_->GetTreeWithRoot(window); 1534 WindowTree* tree = window_server_->GetTreeWithRoot(window);
1536 return tree && tree != this; 1535 return tree && tree != this;
1537 } 1536 }
1538 1537
1539 } // namespace ws 1538 } // namespace ws
1540 } // namespace mus 1539 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/window_server.cc ('k') | content/renderer/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698