Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / panels / panel_mouse_watcher_observer.h
blobc7ac80d15afa1343c37951f7f07615519eedb8c3
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.
5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_
8 namespace gfx {
9 class Point;
12 // This observer interface should be implemented in order to receive
13 // notifications from PanelMouseWatcher when the mouse moves.
14 class 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;
20 protected:
21 virtual ~PanelMouseWatcherObserver() {}
23 #endif // CHROME_BROWSER_UI_PANELS_PANEL_MOUSE_WATCHER_OBSERVER_H_