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

Unified Diff: cc/surfaces/surface_factory.h

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c 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 | « cc/surfaces/surface_aggregator_unittest.cc ('k') | cc/surfaces/surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index b6487411f16aff54915af9a9249ac5aec8f7af6a..f77fdc48e589344e5e60c2b64a58068408560cf2 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -59,7 +59,7 @@ class CC_SURFACES_EXPORT SurfaceFactory {
// The frame can contain references to any surface, regardless of which
// factory owns it. The callback is called the first time this frame is used
// to draw, or if the frame is discarded.
- void SubmitCompositorFrame(const LocalFrameId& local_frame_id,
+ void SubmitCompositorFrame(const LocalSurfaceId& local_surface_id,
CompositorFrame frame,
const DrawCallback& callback);
void RequestCopyOfSurface(std::unique_ptr<CopyOutputRequest> copy_request);
@@ -68,7 +68,7 @@ class CC_SURFACES_EXPORT SurfaceFactory {
// will be released and Surface::HasFrame will return false.
void ClearSurface();
- void WillDrawSurface(const LocalFrameId& id, const gfx::Rect& damage_rect);
+ void WillDrawSurface(const LocalSurfaceId& id, const gfx::Rect& damage_rect);
SurfaceFactoryClient* client() { return client_; }
@@ -89,7 +89,7 @@ class CC_SURFACES_EXPORT SurfaceFactory {
void DidDestroySurfaceManager() { manager_ = nullptr; }
private:
- std::unique_ptr<Surface> Create(const LocalFrameId& local_frame_id);
+ std::unique_ptr<Surface> Create(const LocalSurfaceId& local_surface_id);
void Destroy(std::unique_ptr<Surface> surface);
const FrameSinkId frame_sink_id_;
« no previous file with comments | « cc/surfaces/surface_aggregator_unittest.cc ('k') | cc/surfaces/surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698