| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 RectPtr old_bounds, | 98 RectPtr old_bounds, |
| 99 RectPtr new_bounds) OVERRIDE; | 99 RectPtr new_bounds) OVERRIDE; |
| 100 virtual void OnViewHierarchyChanged(Id view_id, | 100 virtual void OnViewHierarchyChanged(Id view_id, |
| 101 Id new_parent_id, | 101 Id new_parent_id, |
| 102 Id old_parent_id, | 102 Id old_parent_id, |
| 103 Array<ViewDataPtr> views) OVERRIDE; | 103 Array<ViewDataPtr> views) OVERRIDE; |
| 104 virtual void OnViewReordered(Id view_id, | 104 virtual void OnViewReordered(Id view_id, |
| 105 Id relative_view_id, | 105 Id relative_view_id, |
| 106 OrderDirection direction) OVERRIDE; | 106 OrderDirection direction) OVERRIDE; |
| 107 virtual void OnViewDeleted(Id view_id) OVERRIDE; | 107 virtual void OnViewDeleted(Id view_id) OVERRIDE; |
| 108 virtual void OnViewInputEvent(Id view, | 108 virtual void OnViewVisibilityChanged(Id view_id, bool visible) OVERRIDE; |
| 109 virtual void OnViewDrawnStateChanged(Id view_id, bool drawn) OVERRIDE; |
| 110 virtual void OnViewInputEvent(Id view_id, |
| 109 EventPtr event, | 111 EventPtr event, |
| 110 const Callback<void()>& callback) OVERRIDE; | 112 const Callback<void()>& callback) OVERRIDE; |
| 111 virtual void Embed( | 113 virtual void Embed( |
| 112 const String& url, | 114 const String& url, |
| 113 InterfaceRequest<ServiceProvider> service_provider) OVERRIDE; | 115 InterfaceRequest<ServiceProvider> service_provider) OVERRIDE; |
| 114 virtual void DispatchOnViewInputEvent(EventPtr event) OVERRIDE; | 116 virtual void DispatchOnViewInputEvent(EventPtr event) OVERRIDE; |
| 115 | 117 |
| 116 // Overridden from WindowManagerClient: | 118 // Overridden from WindowManagerClient: |
| 117 virtual void OnWindowManagerReady() OVERRIDE; | 119 virtual void OnWindowManagerReady() OVERRIDE; |
| 118 virtual void OnCaptureChanged(Id old_capture_view_id, | 120 virtual void OnCaptureChanged(Id old_capture_view_id, |
| (...skipping 29 matching lines...) Expand all Loading... |
| 148 ViewManagerService* service_; | 150 ViewManagerService* service_; |
| 149 | 151 |
| 150 WindowManagerServicePtr window_manager_; | 152 WindowManagerServicePtr window_manager_; |
| 151 | 153 |
| 152 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); | 154 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
| 153 }; | 155 }; |
| 154 | 156 |
| 155 } // namespace mojo | 157 } // namespace mojo |
| 156 | 158 |
| 157 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 159 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
| OLD | NEW |