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

Unified Diff: services/ui/surfaces/display_compositor.h

Issue 2565783002: Moves ownership of the cc::Display's BeginFrameSource out of Display. (Closed)
Patch Set: rebase. Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/surfaces/display_compositor.h
diff --git a/services/ui/surfaces/display_compositor.h b/services/ui/surfaces/display_compositor.h
index 97c89f7379cece91f22b53cdbecc5bd2b0aee223..1233609364270f91920af2e7fe93a77ab0f54f5b 100644
--- a/services/ui/surfaces/display_compositor.h
+++ b/services/ui/surfaces/display_compositor.h
@@ -33,6 +33,7 @@ class ImageFactory;
namespace cc {
class Display;
class SurfaceManager;
+class SyntheticBeginFrameSource;
}
namespace ui {
@@ -97,7 +98,8 @@ class DisplayCompositor : public cc::SurfaceObserver,
std::unique_ptr<cc::Display> CreateDisplay(
const cc::FrameSinkId& frame_sink_id,
- gpu::SurfaceHandle surface_handle);
+ gpu::SurfaceHandle surface_handle,
+ cc::SyntheticBeginFrameSource* begin_frame_source);
const cc::SurfaceId& GetRootSurfaceId() const;
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698