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_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 void OnEmbed(ConnectionSpecificId connection_id, | 96 void OnEmbed(ConnectionSpecificId connection_id, |
97 const String& creator_url, | 97 const String& creator_url, |
98 ViewDataPtr root, | 98 ViewDataPtr root, |
99 InterfaceRequest<ServiceProvider> services, | 99 InterfaceRequest<ServiceProvider> services, |
100 ServiceProviderPtr exposed_services, | 100 ServiceProviderPtr exposed_services, |
101 ScopedMessagePipeHandle window_manager_pipe) override; | 101 ScopedMessagePipeHandle window_manager_pipe) override; |
102 void OnEmbeddedAppDisconnected(Id view_id) override; | 102 void OnEmbeddedAppDisconnected(Id view_id) override; |
103 void OnViewBoundsChanged(Id view_id, | 103 void OnViewBoundsChanged(Id view_id, |
104 RectPtr old_bounds, | 104 RectPtr old_bounds, |
105 RectPtr new_bounds) override; | 105 RectPtr new_bounds) override; |
| 106 void OnViewViewportMetricsChanged(ViewportMetricsPtr old_metrics, |
| 107 ViewportMetricsPtr new_metrics) override; |
106 void OnViewHierarchyChanged(Id view_id, | 108 void OnViewHierarchyChanged(Id view_id, |
107 Id new_parent_id, | 109 Id new_parent_id, |
108 Id old_parent_id, | 110 Id old_parent_id, |
109 Array<ViewDataPtr> views) override; | 111 Array<ViewDataPtr> views) override; |
110 void OnViewReordered(Id view_id, | 112 void OnViewReordered(Id view_id, |
111 Id relative_view_id, | 113 Id relative_view_id, |
112 OrderDirection direction) override; | 114 OrderDirection direction) override; |
113 void OnViewDeleted(Id view_id) override; | 115 void OnViewDeleted(Id view_id) override; |
114 void OnViewVisibilityChanged(Id view_id, bool visible) override; | 116 void OnViewVisibilityChanged(Id view_id, bool visible) override; |
115 void OnViewDrawnStateChanged(Id view_id, bool drawn) override; | 117 void OnViewDrawnStateChanged(Id view_id, bool drawn) override; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 Binding<ViewManagerClient> binding_; | 167 Binding<ViewManagerClient> binding_; |
166 ViewManagerService* service_; | 168 ViewManagerService* service_; |
167 const bool delete_on_error_; | 169 const bool delete_on_error_; |
168 | 170 |
169 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); | 171 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
170 }; | 172 }; |
171 | 173 |
172 } // namespace mojo | 174 } // namespace mojo |
173 | 175 |
174 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 176 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
OLD | NEW |