summaryrefslogtreecommitdiffstats
path: root/components/mus/surfaces/surfaces_context_provider_delegate.h
blob: ff27f7d7a62acd1863b7c5e4095c45676338c9de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2015 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 COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_
#define COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_

namespace surfaces {

class SurfacesContextProviderDelegate {
 public:
  virtual void OnVSyncParametersUpdated(int64_t timebase, int64_t interval) = 0;

 protected:
  virtual ~SurfacesContextProviderDelegate() {}
};

}  // namespace surfaces

#endif  // COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_DELEGATE_H_