1// Copyright (c) 2011 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.
4
5#ifndef CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_
6#define CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_
7
8namespace gfx {
9class Point;
10}
11
12// This observer interface should be implemented in order to receive
13// notifications from PanelMouseWatcher when the mouse moves.
14class PanelMouseWatcherObserver {
15 public:
16  // Called when the mouse moves.
17  // |mouse_position| is in screen coordinates.
18  virtual void OnMouseMove(const gfx::Point& mouse_position) = 0;
19
20 protected:
21  virtual ~PanelMouseWatcherObserver() {}
22};
23#endif  // CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_
24