summaryrefslogtreecommitdiffstats
path: root/remoting/host/mouse_move_observer.h
blob: e19306e68f5a851d1dbd065c9c646b22d550cc04 (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 (c) 2012 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 REMOTING_HOST_MOUSE_MOVE_OBSERVER_H_
#define REMOTING_HOST_MOUSE_MOVE_OBSERVER_H_

struct SkIPoint;

namespace remoting {

// Interface used by LocalInputMonitor to notify about local mouse
// movement.
class MouseMoveObserver {
 public:
  virtual void OnLocalMouseMoved(const SkIPoint& new_pos) = 0;

 protected:
  virtual ~MouseMoveObserver() {}
};

}  // namespace remoting

#endif  // REMOTING_HOST_MOUSE_MOVE_OBSERVER_H_