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

Unified Diff: cc/surfaces/surface_factory_client.h

Issue 2802023002: Remove SurfaceFactory And SurfaceFactoryClient (Closed)
Patch Set: Rebase Created 3 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 side-by-side diff with in-line comments
Download patch
Index: cc/surfaces/surface_factory_client.h
diff --git a/cc/surfaces/surface_factory_client.h b/cc/surfaces/surface_factory_client.h
deleted file mode 100644
index ea32344afcd0922ead3f79f948553c264b8b636e..0000000000000000000000000000000000000000
--- a/cc/surfaces/surface_factory_client.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_SURFACES_SURFACE_FACTORY_CLIENT_H_
-#define CC_SURFACES_SURFACE_FACTORY_CLIENT_H_
-
-#include "cc/resources/returned_resource.h"
-#include "cc/surfaces/local_surface_id.h"
-#include "cc/surfaces/surfaces_export.h"
-#include "ui/gfx/geometry/rect.h"
-
-namespace cc {
-
-class BeginFrameSource;
-class SurfaceId;
-
-class CC_SURFACES_EXPORT SurfaceFactoryClient {
- public:
- virtual ~SurfaceFactoryClient() {}
-
- virtual void ReferencedSurfacesChanged(
- const LocalSurfaceId& local_surface_id,
- const std::vector<SurfaceId>* active_referenced_surfaces,
- const std::vector<SurfaceId>* pending_referenced_surfaces) {}
-
- virtual void ReturnResources(const ReturnedResourceArray& resources) = 0;
-
- virtual void WillDrawSurface(const LocalSurfaceId& local_surface_id,
- const gfx::Rect& damage_rect) {}
-
- // This allows the SurfaceFactory to pass a BeginFrameSource to use.
- virtual void SetBeginFrameSource(BeginFrameSource* begin_frame_source) = 0;
-};
-
-} // namespace cc
-
-#endif // CC_SURFACES_SURFACE_FACTORY_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698