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

Unified Diff: cc/output/output_surface_client.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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/output/output_surface.cc ('k') | cc/output/overlay_candidate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface_client.h
diff --git a/cc/output/output_surface_client.h b/cc/output/output_surface_client.h
index 60750b408a74a6f3e2e138a99402f4d96114d649..60d9a38058ae6dda17cfd586d4446b8303b81850 100644
--- a/cc/output/output_surface_client.h
+++ b/cc/output/output_surface_client.h
@@ -8,7 +8,6 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/time/time.h"
-#include "cc/base/cc_export.h"
#include "cc/output/context_provider.h"
#include "ui/gfx/geometry/rect.h"
@@ -19,9 +18,8 @@ class Transform;
namespace cc {
class CompositorFrameAck;
-struct ManagedMemoryPolicy;
-class CC_EXPORT OutputSurfaceClient {
+class OutputSurfaceClient {
public:
// Called to synchronously re-initialize using the Context3D. Upon returning
// the compositor should be able to draw using GL what was previously
@@ -43,7 +41,6 @@ class CC_EXPORT OutputSurfaceClient {
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority,
bool resourceless_software_draw) = 0;
- virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
// If set, |callback| will be called subsequent to each new tree activation,
// regardless of the compositor visibility or damage. |callback| must remain
// valid for the lifetime of the OutputSurfaceClient or until unregisted --
« no previous file with comments | « cc/output/output_surface.cc ('k') | cc/output/overlay_candidate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698