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

Unified Diff: cc/surfaces/surface_factory_client.h

Issue 1673783004: Hook up BeginFrameSource to SurfaceFactoryClient via SurfaceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Register id namespace on Android Created 4 years, 9 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 | « cc/surfaces/surface_factory.cc ('k') | cc/surfaces/surface_factory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory_client.h
diff --git a/cc/surfaces/surface_factory_client.h b/cc/surfaces/surface_factory_client.h
index e79b18576f469c2c252c776ef88de12448a20d7b..f42bf35cbf77974ede3516a4054e7a312c8169ab 100644
--- a/cc/surfaces/surface_factory_client.h
+++ b/cc/surfaces/surface_factory_client.h
@@ -24,14 +24,8 @@ class CC_SURFACES_EXPORT SurfaceFactoryClient {
virtual void WillDrawSurface(SurfaceId surface_id,
const gfx::Rect& damage_rect) {}
- // This allows the SurfaceFactory to tell it's client what BeginFrameSource
- // to use for a given surface_id.
- // If there are multiple active surface_ids, it is the client's
- // responsibility to pick or distribute the correct BeginFrameSource.
- // If surface_id is null, then all BeginFrameSources previously
- // set by this function should be invalidated.
- virtual void SetBeginFrameSource(SurfaceId surface_id,
- BeginFrameSource* begin_frame_source) = 0;
+ // This allows the SurfaceFactory to pass a BeginFrameSource to use.
+ virtual void SetBeginFrameSource(BeginFrameSource* begin_frame_source) = 0;
};
} // namespace cc
« no previous file with comments | « cc/surfaces/surface_factory.cc ('k') | cc/surfaces/surface_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698