Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1244)

Side by Side Diff: services/ui/surfaces/display_compositor_client.h

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Add missing file Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 protected:
18 virtual ~DisplayCompositorClient() {}
19 };
20
21 } // namespace ui
22
23 #endif // SERVICES_UI_SURFACES_DISPLAY_COMPOSITOR_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698