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_ |
| 6 #define SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_CLIENT_ |
| 7 |
| 8 namespace ui { |
| 9 |
| 10 namespace surfaces { |
| 11 |
| 12 // TODO(fsamuel): In this future, this will be a mojo interface. |
| 13 class DisplayCompositorClient { |
| 14 public: |
| 15 virtual void OnSurfaceCreated(const gfx::Size& size, |
| 16 float device_scale_factor, |
| 17 const cc::SurfaceId& surface_id) = 0; |
| 18 }; |
| 19 |
| 20 } // namespace surfaces |
| 21 |
| 22 } // namespace ui |
| 23 |
| 24 #endif // SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_CLIENT_ |
OLD | NEW |