| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 OnViewPropertyChanged(const ServerView* view, |
| 176 const std::string& name, | 176 const std::string& name, |
| 177 const std::vector<uint8_t>* new_data) override; | 177 const std::vector<uint8_t>* new_data) override; |
| 178 | 178 |
| 179 // WindowManagerInternalClient: | 179 // WindowManagerInternalClient: |
| 180 virtual void DispatchInputEventToView(Id transport_view_id, | 180 void DispatchInputEventToView(Id transport_view_id, |
| 181 EventPtr event) override; | 181 EventPtr event) override; |
| 182 void SetViewportSize(SizePtr size) override; |
| 182 | 183 |
| 183 // InterfaceFactory<ViewManagerService>: | 184 // InterfaceFactory<ViewManagerService>: |
| 184 virtual void Create(ApplicationConnection* connection, | 185 void Create(ApplicationConnection* connection, |
| 185 InterfaceRequest<ViewManagerService> request) override; | 186 InterfaceRequest<ViewManagerService> request) override; |
| 186 | 187 |
| 187 // InterfaceFactory<WindowManagerInternalClient>: | 188 // InterfaceFactory<WindowManagerInternalClient>: |
| 188 virtual void Create( | 189 void Create(ApplicationConnection* connection, |
| 189 ApplicationConnection* connection, | 190 InterfaceRequest<WindowManagerInternalClient> request) override; |
| 190 InterfaceRequest<WindowManagerInternalClient> request) override; | |
| 191 | 191 |
| 192 // ErrorHandler: | 192 // ErrorHandler: |
| 193 void OnConnectionError() override; | 193 void OnConnectionError() override; |
| 194 | 194 |
| 195 ApplicationConnection* app_connection_; | 195 ApplicationConnection* app_connection_; |
| 196 | 196 |
| 197 ConnectionManagerDelegate* delegate_; | 197 ConnectionManagerDelegate* delegate_; |
| 198 | 198 |
| 199 // The ViewManager implementation provided to the initial connection (the | 199 // The ViewManager implementation provided to the initial connection (the |
| 200 // WindowManager). | 200 // WindowManager). |
| (...skipping 18 matching lines...) Expand all Loading... |
| 219 | 219 |
| 220 bool in_destructor_; | 220 bool in_destructor_; |
| 221 | 221 |
| 222 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); | 222 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 } // namespace service | 225 } // namespace service |
| 226 } // namespace mojo | 226 } // namespace mojo |
| 227 | 227 |
| 228 #endif // MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ | 228 #endif // MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ |
| OLD | NEW |