| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_CLIENT_H_ |
| 6 #define SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_CLIENT_H_ |
| 7 |
| 8 namespace ui { |
| 9 |
| 10 // TODO(fsamuel: In the future, this will be a mojo interface from mus-gpu to |
| 11 // mus-ws. |
| 12 class DisplayCompositorClient { |
| 13 public: |
| 14 virtual void OnSurfaceCreated(const cc::SurfaceId& surface_id, |
| 15 const gfx::Size& frame_size, |
| 16 float device_scale_factor) = 0; |
| 17 |
| 18 protected: |
| 19 virtual ~DisplayCompositorClient() {} |
| 20 }; |
| 21 |
| 22 } // namespace ui |
| 23 |
| 24 #endif // SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_CLIENT_H_ |
| OLD | NEW |