Chromium Code Reviews| 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 void OnTransientWindowAdded(ServerWindow* window, | 321 void OnTransientWindowAdded(ServerWindow* window, |
| 322 ServerWindow* transient_child) override; | 322 ServerWindow* transient_child) override; |
| 323 void OnTransientWindowRemoved(ServerWindow* window, | 323 void OnTransientWindowRemoved(ServerWindow* window, |
| 324 ServerWindow* transient_child) override; | 324 ServerWindow* transient_child) override; |
| 325 | 325 |
| 326 // GpuServiceProxyDelegate: | 326 // GpuServiceProxyDelegate: |
| 327 void OnGpuServiceInitialized() override; | 327 void OnGpuServiceInitialized() override; |
| 328 | 328 |
| 329 // cc::mojom::DisplayCompositorClient: | 329 // cc::mojom::DisplayCompositorClient: |
| 330 void OnSurfaceCreated(const cc::SurfaceId& surface_id, | 330 void OnSurfaceCreated(const cc::SurfaceId& surface_id, |
| 331 const gfx::Size& frame_size, | 331 const gfx::Size& frame_size_in_dip, |
|
sky
2016/12/03 16:28:30
Why does this function take dips?
kylechar
2016/12/05 14:46:11
+1. This function receives PP values for frame_siz
| |
| 332 float device_scale_factor) override; | 332 float device_scale_factor) override; |
| 333 | 333 |
| 334 // UserIdTrackerObserver: | 334 // UserIdTrackerObserver: |
| 335 void OnActiveUserIdChanged(const UserId& previously_active_id, | 335 void OnActiveUserIdChanged(const UserId& previously_active_id, |
| 336 const UserId& active_id) override; | 336 const UserId& active_id) override; |
| 337 void OnUserIdAdded(const UserId& id) override; | 337 void OnUserIdAdded(const UserId& id) override; |
| 338 void OnUserIdRemoved(const UserId& id) override; | 338 void OnUserIdRemoved(const UserId& id) override; |
| 339 | 339 |
| 340 UserIdTracker user_id_tracker_; | 340 UserIdTracker user_id_tracker_; |
| 341 | 341 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 378 // State for rendering into a Surface. | 378 // State for rendering into a Surface. |
| 379 cc::mojom::DisplayCompositorPtr display_compositor_; | 379 cc::mojom::DisplayCompositorPtr display_compositor_; |
| 380 | 380 |
| 381 DISALLOW_COPY_AND_ASSIGN(WindowServer); | 381 DISALLOW_COPY_AND_ASSIGN(WindowServer); |
| 382 }; | 382 }; |
| 383 | 383 |
| 384 } // namespace ws | 384 } // namespace ws |
| 385 } // namespace ui | 385 } // namespace ui |
| 386 | 386 |
| 387 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ | 387 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ |
| OLD | NEW |