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

Side by Side Diff: components/mus/surfaces/top_level_display_client.h

Issue 1881793002: SurfacelessSurfaces for Mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_ 5 #ifndef COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
6 #define COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_ 6 #define COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 11 matching lines...) Expand all
22 #include "ui/gfx/native_widget_types.h" 22 #include "ui/gfx/native_widget_types.h"
23 23
24 namespace cc { 24 namespace cc {
25 class CopyOutputResult; 25 class CopyOutputResult;
26 class Display; 26 class Display;
27 class DisplayScheduler; 27 class DisplayScheduler;
28 class SurfaceFactory; 28 class SurfaceFactory;
29 class SyntheticBeginFrameSource; 29 class SyntheticBeginFrameSource;
30 } 30 }
31 31
32 namespace ui {
33 class CompositorVSyncManager;
34 }
35
32 namespace mus { 36 namespace mus {
33 37
34 class DisplayDelegate; 38 class DisplayDelegate;
35 class SurfacesState; 39 class SurfacesState;
36 40
37 // A TopLevelDisplayClient manages the top level surface that is rendered into a 41 // A TopLevelDisplayClient manages the top level surface that is rendered into a
38 // provided AcceleratedWidget. Frames are submitted here. New frames are 42 // provided AcceleratedWidget. Frames are submitted here. New frames are
39 // scheduled to be generated here based on VSync. 43 // scheduled to be generated here based on VSync.
40 class TopLevelDisplayClient : public cc::DisplayClient, 44 class TopLevelDisplayClient : public cc::DisplayClient,
41 public cc::SurfaceFactoryClient, 45 public cc::SurfaceFactoryClient,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 scoped_ptr<cc::SyntheticBeginFrameSource> synthetic_frame_source_; 82 scoped_ptr<cc::SyntheticBeginFrameSource> synthetic_frame_source_;
79 scoped_ptr<cc::DisplayScheduler> scheduler_; 83 scoped_ptr<cc::DisplayScheduler> scheduler_;
80 scoped_ptr<cc::Display> display_; 84 scoped_ptr<cc::Display> display_;
81 85
82 DISALLOW_COPY_AND_ASSIGN(TopLevelDisplayClient); 86 DISALLOW_COPY_AND_ASSIGN(TopLevelDisplayClient);
83 }; 87 };
84 88
85 } // namespace mus 89 } // namespace mus
86 90
87 #endif // COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_ 91 #endif // COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698