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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void OnViewHierarchyChanged(Id view_id, | 101 void OnViewHierarchyChanged(Id view_id, |
102 Id new_parent_id, | 102 Id new_parent_id, |
103 Id old_parent_id, | 103 Id old_parent_id, |
104 Array<ViewDataPtr> views) override; | 104 Array<ViewDataPtr> views) override; |
105 void OnViewReordered(Id view_id, | 105 void OnViewReordered(Id view_id, |
106 Id relative_view_id, | 106 Id relative_view_id, |
107 OrderDirection direction) override; | 107 OrderDirection direction) override; |
108 void OnViewDeleted(Id view_id) override; | 108 void OnViewDeleted(Id view_id) override; |
109 void OnViewVisibilityChanged(Id view_id, bool visible) override; | 109 void OnViewVisibilityChanged(Id view_id, bool visible) override; |
110 void OnViewDrawnStateChanged(Id view_id, bool drawn) override; | 110 void OnViewDrawnStateChanged(Id view_id, bool drawn) override; |
111 void OnViewPropertyChanged(Id view_id, | 111 void OnViewSharedPropertyChanged(Id view_id, |
112 const String& name, | 112 const String& name, |
113 Array<uint8_t> new_data) override; | 113 Array<uint8_t> new_data) override; |
114 void OnViewInputEvent(Id view_id, | 114 void OnViewInputEvent(Id view_id, |
115 EventPtr event, | 115 EventPtr event, |
116 const Callback<void()>& callback) override; | 116 const Callback<void()>& callback) override; |
117 | 117 |
118 // Overridden from WindowManagerClient: | 118 // Overridden from WindowManagerClient: |
119 void OnCaptureChanged(Id old_capture_view_id, | 119 void OnCaptureChanged(Id old_capture_view_id, |
120 Id new_capture_view_id) override; | 120 Id new_capture_view_id) override; |
121 void OnFocusChanged(Id old_focused_view_id, Id new_focused_view_id) override; | 121 void OnFocusChanged(Id old_focused_view_id, Id new_focused_view_id) override; |
122 void OnActiveWindowChanged(Id old_focused_window, | 122 void OnActiveWindowChanged(Id old_focused_window, |
123 Id new_focused_window) override; | 123 Id new_focused_window) override; |
(...skipping 28 matching lines...) Expand all Loading... |
152 Binding<ViewManagerClient> binding_; | 152 Binding<ViewManagerClient> binding_; |
153 ViewManagerService* service_; | 153 ViewManagerService* service_; |
154 const bool delete_on_error_; | 154 const bool delete_on_error_; |
155 | 155 |
156 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); | 156 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
157 }; | 157 }; |
158 | 158 |
159 } // namespace mojo | 159 } // namespace mojo |
160 | 160 |
161 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ | 161 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ |
OLD | NEW |