| 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(Id view_id, |
| 107 ViewportMetricsPtr old_metrics, |
| 108 ViewportMetricsPtr new_metrics) override; |
| 106 void OnViewHierarchyChanged(Id view_id, | 109 void OnViewHierarchyChanged(Id view_id, |
| 107 Id new_parent_id, | 110 Id new_parent_id, |
| 108 Id old_parent_id, | 111 Id old_parent_id, |
| 109 Array<ViewDataPtr> views) override; | 112 Array<ViewDataPtr> views) override; |
| 110 void OnViewReordered(Id view_id, | 113 void OnViewReordered(Id view_id, |
| 111 Id relative_view_id, | 114 Id relative_view_id, |
| 112 OrderDirection direction) override; | 115 OrderDirection direction) override; |
| 113 void OnViewDeleted(Id view_id) override; | 116 void OnViewDeleted(Id view_id) override; |
| 114 void OnViewVisibilityChanged(Id view_id, bool visible) override; | 117 void OnViewVisibilityChanged(Id view_id, bool visible) override; |
| 115 void OnViewDrawnStateChanged(Id view_id, bool drawn) override; | 118 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_; | 168 Binding<ViewManagerClient> binding_; |
| 166 ViewManagerService* service_; | 169 ViewManagerService* service_; |
| 167 const bool delete_on_error_; | 170 const bool delete_on_error_; |
| 168 | 171 |
| 169 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); | 172 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
| 170 }; | 173 }; |
| 171 | 174 |
| 172 } // namespace mojo | 175 } // namespace mojo |
| 173 | 176 |
| 174 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 177 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
| OLD | NEW |