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

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

Issue 640893003: Move mojo/services/public/cpp TypeConverters to mojo/converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore the directory and component structures and target names. Created 6 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 "mojo/services/view_manager/view_manager_service_impl.h" 5 #include "mojo/services/view_manager/view_manager_service_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "mojo/services/public/cpp/geometry/geometry_type_converters.h" 8 #include "mojo/converters/geometry/geometry_type_converters.h"
9 #include "mojo/services/public/cpp/input_events/input_events_type_converters.h" 9 #include "mojo/converters/input_events/input_events_type_converters.h"
10 #include "mojo/services/public/cpp/surfaces/surfaces_type_converters.h" 10 #include "mojo/converters/surfaces/surfaces_type_converters.h"
11 #include "mojo/services/view_manager/connection_manager.h" 11 #include "mojo/services/view_manager/connection_manager.h"
12 #include "mojo/services/view_manager/default_access_policy.h" 12 #include "mojo/services/view_manager/default_access_policy.h"
13 #include "mojo/services/view_manager/server_view.h" 13 #include "mojo/services/view_manager/server_view.h"
14 #include "mojo/services/view_manager/window_manager_access_policy.h" 14 #include "mojo/services/view_manager/window_manager_access_policy.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace service { 17 namespace service {
18 18
19 ViewManagerServiceImpl::ViewManagerServiceImpl( 19 ViewManagerServiceImpl::ViewManagerServiceImpl(
20 ConnectionManager* connection_manager, 20 ConnectionManager* connection_manager,
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 555
556 bool ViewManagerServiceImpl::IsViewRootOfAnotherConnectionForAccessPolicy( 556 bool ViewManagerServiceImpl::IsViewRootOfAnotherConnectionForAccessPolicy(
557 const ServerView* view) const { 557 const ServerView* view) const {
558 ViewManagerServiceImpl* connection = 558 ViewManagerServiceImpl* connection =
559 connection_manager_->GetConnectionWithRoot(view->id()); 559 connection_manager_->GetConnectionWithRoot(view->id());
560 return connection && connection != this; 560 return connection && connection != this;
561 } 561 }
562 562
563 } // namespace service 563 } // namespace service
564 } // namespace mojo 564 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/view_manager/test_change_tracker.cc ('k') | mojo/services/view_manager/view_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698