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

Unified Diff: components/exo/compositor_frame_sink_holder.h

Issue 2610513006: exo: Implement presentation interface. (Closed)
Patch Set: dcastagna nits Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/exo/compositor_frame_sink_holder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/compositor_frame_sink_holder.h
diff --git a/components/exo/compositor_frame_sink_holder.h b/components/exo/compositor_frame_sink_holder.h
index d2f8ab8f3a3ed38354c8ded99e2d6230a4b4acc4..0f03d01aac4155f32e59f33a214d924306da37b3 100644
--- a/components/exo/compositor_frame_sink_holder.h
+++ b/components/exo/compositor_frame_sink_holder.h
@@ -46,10 +46,6 @@ class CompositorFrameSinkHolder
return weak_factory_.GetWeakPtr();
}
- using FrameCallback = base::Callback<void(base::TimeTicks frame_time)>;
- void ActivateFrameCallbacks(std::list<FrameCallback>* frame_callbacks);
- void CancelFrameCallbacks();
-
void SetNeedsBeginFrame(bool needs_begin_frame);
void Satisfy(const cc::SurfaceSequence& sequence);
@@ -85,7 +81,6 @@ class CompositorFrameSinkHolder
Surface* surface_;
std::unique_ptr<CompositorFrameSink> frame_sink_;
- std::list<FrameCallback> active_frame_callbacks_;
std::unique_ptr<cc::ExternalBeginFrameSource> begin_frame_source_;
bool needs_begin_frame_ = false;
cc::BeginFrameArgs last_begin_frame_args_;
« no previous file with comments | « no previous file | components/exo/compositor_frame_sink_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698