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_CONNECTION_MANAGER_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 const ServerView* new_parent, | 165 const ServerView* new_parent, |
166 const ServerView* old_parent) override; | 166 const ServerView* old_parent) override; |
167 void OnViewBoundsChanged(const ServerView* view, | 167 void OnViewBoundsChanged(const ServerView* view, |
168 const gfx::Rect& old_bounds, | 168 const gfx::Rect& old_bounds, |
169 const gfx::Rect& new_bounds) override; | 169 const gfx::Rect& new_bounds) override; |
170 void OnViewSurfaceIdChanged(const ServerView* view) override; | 170 void OnViewSurfaceIdChanged(const ServerView* view) override; |
171 void OnViewReordered(const ServerView* view, | 171 void OnViewReordered(const ServerView* view, |
172 const ServerView* relative, | 172 const ServerView* relative, |
173 OrderDirection direction) override; | 173 OrderDirection direction) override; |
174 void OnWillChangeViewVisibility(const ServerView* view) override; | 174 void OnWillChangeViewVisibility(const ServerView* view) override; |
175 void OnViewPropertyChanged(const ServerView* view, | 175 void OnViewSharedPropertyChanged( |
176 const std::string& name, | 176 const ServerView* view, |
177 const std::vector<uint8_t>* new_data) override; | 177 const std::string& name, |
| 178 const std::vector<uint8_t>* new_data) override; |
178 | 179 |
179 // WindowManagerInternalClient: | 180 // WindowManagerInternalClient: |
180 void DispatchInputEventToView(Id transport_view_id, | 181 void DispatchInputEventToView(Id transport_view_id, |
181 EventPtr event) override; | 182 EventPtr event) override; |
182 void SetViewportSize(SizePtr size) override; | 183 void SetViewportSize(SizePtr size) override; |
183 | 184 |
184 ConnectionManagerDelegate* delegate_; | 185 ConnectionManagerDelegate* delegate_; |
185 | 186 |
186 // The ClientConnection containing the ViewManagerService implementation | 187 // The ClientConnection containing the ViewManagerService implementation |
187 // provided to the initial connection (the WindowManager). | 188 // provided to the initial connection (the WindowManager). |
(...skipping 18 matching lines...) Expand all Loading... |
206 | 207 |
207 bool in_destructor_; | 208 bool in_destructor_; |
208 | 209 |
209 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); | 210 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); |
210 }; | 211 }; |
211 | 212 |
212 } // namespace service | 213 } // namespace service |
213 } // namespace mojo | 214 } // namespace mojo |
214 | 215 |
215 #endif // MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ | 216 #endif // MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ |
OLD | NEW |