blob: b76d7c1733f6f5247a27419272708029451f90cf (
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) 2011 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 CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_
#define CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_
#pragma once
namespace gfx {
class Point;
}
// This observer interface should be implemented in order to receive
// notifications from PanelMouseWatcher when the mouse moves.
class PanelMouseWatcherObserver {
public:
// Called when the mouse moves.
// |mouse_position| is in screen coordinates.
virtual void OnMouseMove(const gfx::Point& mouse_position) = 0;
protected:
virtual ~PanelMouseWatcherObserver() {}
};
#endif // CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_
|