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

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

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 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 "services/view_manager/view_manager_service_impl.h" 5 #include "services/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 "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "mojo/converters/geometry/geometry_type_converters.h" 10 #include "mojo/converters/geometry/geometry_type_converters.h"
11 #include "mojo/converters/input_events/input_events_type_converters.h" 11 #include "mojo/converters/input_events/input_events_type_converters.h"
12 #include "mojo/converters/surfaces/surfaces_type_converters.h" 12 #include "mojo/converters/surfaces/surfaces_type_converters.h"
13 #include "mojo/services/window_manager/public/interfaces/window_manager_internal .mojom.h" 13 #include "mojo/services/window_manager/interfaces/window_manager_internal.mojom. h"
14 #include "services/view_manager/connection_manager.h" 14 #include "services/view_manager/connection_manager.h"
15 #include "services/view_manager/default_access_policy.h" 15 #include "services/view_manager/default_access_policy.h"
16 #include "services/view_manager/display_manager.h" 16 #include "services/view_manager/display_manager.h"
17 #include "services/view_manager/server_view.h" 17 #include "services/view_manager/server_view.h"
18 #include "services/view_manager/window_manager_access_policy.h" 18 #include "services/view_manager/window_manager_access_policy.h"
19 19
20 using mojo::Array; 20 using mojo::Array;
21 using mojo::Callback; 21 using mojo::Callback;
22 using mojo::Id; 22 using mojo::Id;
23 using mojo::InterfaceRequest; 23 using mojo::InterfaceRequest;
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 } 647 }
648 648
649 bool ViewManagerServiceImpl::IsViewRootOfAnotherConnectionForAccessPolicy( 649 bool ViewManagerServiceImpl::IsViewRootOfAnotherConnectionForAccessPolicy(
650 const ServerView* view) const { 650 const ServerView* view) const {
651 ViewManagerServiceImpl* connection = 651 ViewManagerServiceImpl* connection =
652 connection_manager_->GetConnectionWithRoot(view->id()); 652 connection_manager_->GetConnectionWithRoot(view->id());
653 return connection && connection != this; 653 return connection && connection != this;
654 } 654 }
655 655
656 } // namespace view_manager 656 } // namespace view_manager
OLDNEW
« no previous file with comments | « services/view_manager/view_manager_service_impl.h ('k') | services/view_manager/view_manager_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698