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 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 // Overridden from InterfaceImpl: | 86 // Overridden from InterfaceImpl: |
87 void OnConnectionEstablished() override; | 87 void OnConnectionEstablished() override; |
88 | 88 |
89 // Overridden from ViewManagerClient: | 89 // Overridden from ViewManagerClient: |
90 void OnEmbed(ConnectionSpecificId connection_id, | 90 void OnEmbed(ConnectionSpecificId connection_id, |
91 const String& creator_url, | 91 const String& creator_url, |
92 ViewDataPtr root, | 92 ViewDataPtr root, |
93 InterfaceRequest<ServiceProvider> parent_services, | 93 InterfaceRequest<ServiceProvider> parent_services, |
94 ScopedMessagePipeHandle window_manager_pipe) override; | 94 ScopedMessagePipeHandle window_manager_pipe) override; |
| 95 void OnEmbeddedAppDisconnected(Id view_id) override; |
95 void OnViewBoundsChanged(Id view_id, | 96 void OnViewBoundsChanged(Id view_id, |
96 RectPtr old_bounds, | 97 RectPtr old_bounds, |
97 RectPtr new_bounds) override; | 98 RectPtr new_bounds) override; |
98 void OnViewHierarchyChanged(Id view_id, | 99 void OnViewHierarchyChanged(Id view_id, |
99 Id new_parent_id, | 100 Id new_parent_id, |
100 Id old_parent_id, | 101 Id old_parent_id, |
101 Array<ViewDataPtr> views) override; | 102 Array<ViewDataPtr> views) override; |
102 void OnViewReordered(Id view_id, | 103 void OnViewReordered(Id view_id, |
103 Id relative_view_id, | 104 Id relative_view_id, |
104 OrderDirection direction) override; | 105 OrderDirection direction) override; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 ViewManagerService* service_; | 145 ViewManagerService* service_; |
145 | 146 |
146 WindowManagerPtr window_manager_; | 147 WindowManagerPtr window_manager_; |
147 | 148 |
148 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); | 149 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
149 }; | 150 }; |
150 | 151 |
151 } // namespace mojo | 152 } // namespace mojo |
152 | 153 |
153 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 154 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
OLD | NEW |