summaryrefslogtreecommitdiffstats
path: root/cc/input/top_controls_manager_client.h
blob: b90de7c86a64c0974b966b3f4f472b443c08fba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2013 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_INPUT_TOP_CONTROLS_MANAGER_CLIENT_H_
#define CC_INPUT_TOP_CONTROLS_MANAGER_CLIENT_H_

namespace cc {

class LayerTreeImpl;

class CC_EXPORT TopControlsManagerClient {
 public:
  virtual void setNeedsRedraw() = 0;
  virtual void setActiveTreeNeedsUpdateDrawProperties() = 0;
  virtual bool haveRootScrollLayer() const = 0;

 protected:
  virtual ~TopControlsManagerClient() {}
};

}  // namespace cc

#endif  // CC_INPUT_TOP_CONTROLS_MANAGER_CLIENT_H_