| 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 SERVICES_UI_WS_WINDOW_SERVER_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_H_ |
| 6 #define SERVICES_UI_WS_WINDOW_SERVER_H_ | 6 #define SERVICES_UI_WS_WINDOW_SERVER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 const ui::TextInputState& state) override; | 321 const ui::TextInputState& state) override; |
| 322 void OnTransientWindowAdded(ServerWindow* window, | 322 void OnTransientWindowAdded(ServerWindow* window, |
| 323 ServerWindow* transient_child) override; | 323 ServerWindow* transient_child) override; |
| 324 void OnTransientWindowRemoved(ServerWindow* window, | 324 void OnTransientWindowRemoved(ServerWindow* window, |
| 325 ServerWindow* transient_child) override; | 325 ServerWindow* transient_child) override; |
| 326 | 326 |
| 327 // GpuHostDelegate: | 327 // GpuHostDelegate: |
| 328 void OnGpuServiceInitialized() override; | 328 void OnGpuServiceInitialized() override; |
| 329 | 329 |
| 330 // cc::mojom::DisplayCompositorClient: | 330 // cc::mojom::DisplayCompositorClient: |
| 331 void OnSurfaceCreated(const cc::SurfaceId& surface_id, | 331 void OnSurfaceCreated(const cc::SurfaceInfo& surface_info) override; |
| 332 const gfx::Size& frame_size, | |
| 333 float device_scale_factor) override; | |
| 334 void OnDisplayCompositorCreated( | 332 void OnDisplayCompositorCreated( |
| 335 const cc::SurfaceId& root_surface_id) override; | 333 const cc::SurfaceId& root_surface_id) override; |
| 336 | 334 |
| 337 // UserIdTrackerObserver: | 335 // UserIdTrackerObserver: |
| 338 void OnActiveUserIdChanged(const UserId& previously_active_id, | 336 void OnActiveUserIdChanged(const UserId& previously_active_id, |
| 339 const UserId& active_id) override; | 337 const UserId& active_id) override; |
| 340 void OnUserIdAdded(const UserId& id) override; | 338 void OnUserIdAdded(const UserId& id) override; |
| 341 void OnUserIdRemoved(const UserId& id) override; | 339 void OnUserIdRemoved(const UserId& id) override; |
| 342 | 340 |
| 343 UserIdTracker user_id_tracker_; | 341 UserIdTracker user_id_tracker_; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 // State for rendering into a Surface. | 381 // State for rendering into a Surface. |
| 384 cc::mojom::DisplayCompositorPtr display_compositor_; | 382 cc::mojom::DisplayCompositorPtr display_compositor_; |
| 385 | 383 |
| 386 DISALLOW_COPY_AND_ASSIGN(WindowServer); | 384 DISALLOW_COPY_AND_ASSIGN(WindowServer); |
| 387 }; | 385 }; |
| 388 | 386 |
| 389 } // namespace ws | 387 } // namespace ws |
| 390 } // namespace ui | 388 } // namespace ui |
| 391 | 389 |
| 392 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ | 390 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ |
| OLD | NEW |