1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_SURFACES_DISPLAY_CLIENT_H_
6 #define CC_SURFACES_DISPLAY_CLIENT_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "base/time/time.h"
13 struct ManagedMemoryPolicy
;
17 virtual void CommitVSyncParameters(base::TimeTicks timebase
,
18 base::TimeDelta interval
) = 0;
19 virtual void OutputSurfaceLost() = 0;
20 virtual void SetMemoryPolicy(const ManagedMemoryPolicy
& policy
) = 0;
23 virtual ~DisplayClient() {}
28 #endif // CC_SURFACES_DISPLAY_CLIENT_H_