[Android] Add a reset_usb utility script (RELAND).
[chromium-blink-merge.git] / cc / surfaces / display_client.h
blob61ea4d39970e79678e433eb8da6a784bdd5fe4c5
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"
11 namespace cc {
13 struct ManagedMemoryPolicy;
15 class DisplayClient {
16 public:
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;
22 protected:
23 virtual ~DisplayClient() {}
26 } // namespace cc
28 #endif // CC_SURFACES_DISPLAY_CLIENT_H_