// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_MOUSE_WATCHER_H_ #define UI_VIEWS_MOUSE_WATCHER_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "base/time/time.h" #include "ui/gfx/geometry/insets.h" #include "ui/gfx/native_widget_types.h" #include "ui/views/views_export.h" namespace gfx { class Point; } namespace views { // MouseWatcherListener is notified when the mouse moves outside the host. class VIEWS_EXPORT MouseWatcherListener { … }; // The MouseWatcherHost determines what region is to be monitored. class VIEWS_EXPORT MouseWatcherHost { … }; // MouseWatcher is used to watch mouse movement and notify its listener when the // mouse moves outside the bounds of a MouseWatcherHost. class VIEWS_EXPORT MouseWatcher { … }; } // namespace views #endif // UI_VIEWS_MOUSE_WATCHER_H_