| OLD | NEW |
| 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/type_converters.h" | |
| 14 #include "components/view_manager/window_manager_access_policy.h" | 13 #include "components/view_manager/window_manager_access_policy.h" |
| 15 #include "mojo/converters/geometry/geometry_type_converters.h" | 14 #include "mojo/converters/geometry/geometry_type_converters.h" |
| 15 #include "mojo/converters/ime/ime_type_converters.h" |
| 16 #include "mojo/converters/input_events/input_events_type_converters.h" | 16 #include "mojo/converters/input_events/input_events_type_converters.h" |
| 17 #include "mojo/converters/surfaces/surfaces_type_converters.h" | 17 #include "mojo/converters/surfaces/surfaces_type_converters.h" |
| 18 #include "ui/platform_window/text_input_state.h" | 18 #include "ui/platform_window/text_input_state.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; |
| 24 using mojo::OrderDirection; | 24 using mojo::OrderDirection; |
| 25 using mojo::Rect; | 25 using mojo::Rect; |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 ViewManagerServiceImpl* connection = | 778 ViewManagerServiceImpl* connection = |
| 779 connection_manager_->GetConnectionWithRoot(view->id()); | 779 connection_manager_->GetConnectionWithRoot(view->id()); |
| 780 return connection && connection != this; | 780 return connection && connection != this; |
| 781 } | 781 } |
| 782 | 782 |
| 783 bool ViewManagerServiceImpl::IsEmbedRootForAccessPolicy() { | 783 bool ViewManagerServiceImpl::IsEmbedRootForAccessPolicy() { |
| 784 return is_embed_root_; | 784 return is_embed_root_; |
| 785 } | 785 } |
| 786 | 786 |
| 787 } // namespace view_manager | 787 } // namespace view_manager |
| OLD | NEW |