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

Side by Side Diff: components/view_manager/view_manager_service_impl.cc

Issue 1138073007: Nukes the windowmanager interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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/view_manager/view_manager_service_impl.h" 5 #include "components/view_manager/view_manager_service_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "components/view_manager/connection_manager.h" 9 #include "components/view_manager/connection_manager.h"
10 #include "components/view_manager/default_access_policy.h" 10 #include "components/view_manager/default_access_policy.h"
11 #include "components/view_manager/display_manager.h" 11 #include "components/view_manager/display_manager.h"
12 #include "components/view_manager/server_view.h" 12 #include "components/view_manager/server_view.h"
13 #include "components/view_manager/window_manager_access_policy.h" 13 #include "components/view_manager/window_manager_access_policy.h"
14 #include "components/window_manager/public/interfaces/window_manager_internal.mo jom.h"
15 #include "mojo/converters/geometry/geometry_type_converters.h" 14 #include "mojo/converters/geometry/geometry_type_converters.h"
16 #include "mojo/converters/input_events/input_events_type_converters.h" 15 #include "mojo/converters/input_events/input_events_type_converters.h"
17 #include "mojo/converters/surfaces/surfaces_type_converters.h" 16 #include "mojo/converters/surfaces/surfaces_type_converters.h"
18 17
19 using mojo::Array; 18 using mojo::Array;
20 using mojo::Callback; 19 using mojo::Callback;
21 using mojo::Id; 20 using mojo::Id;
22 using mojo::InterfaceRequest; 21 using mojo::InterfaceRequest;
23 using mojo::OrderDirection; 22 using mojo::OrderDirection;
24 using mojo::Rect; 23 using mojo::Rect;
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 } 661 }
663 662
664 bool ViewManagerServiceImpl::IsViewRootOfAnotherConnectionForAccessPolicy( 663 bool ViewManagerServiceImpl::IsViewRootOfAnotherConnectionForAccessPolicy(
665 const ServerView* view) const { 664 const ServerView* view) const {
666 ViewManagerServiceImpl* connection = 665 ViewManagerServiceImpl* connection =
667 connection_manager_->GetConnectionWithRoot(view->id()); 666 connection_manager_->GetConnectionWithRoot(view->id());
668 return connection && connection != this; 667 return connection && connection != this;
669 } 668 }
670 669
671 } // namespace view_manager 670 } // namespace view_manager
OLDNEW
« no previous file with comments | « components/view_manager/view_manager_service_apptest.cc ('k') | components/view_manager/view_manager_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698