OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_MOUSE_WATCHER_H_ | 5 #ifndef UI_VIEWS_MOUSE_WATCHER_H_ |
6 #define UI_VIEWS_MOUSE_WATCHER_H_ | 6 #define UI_VIEWS_MOUSE_WATCHER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "ui/gfx/insets.h" | 11 #include "ui/gfx/geometry/insets.h" |
12 #include "ui/views/views_export.h" | 12 #include "ui/views/views_export.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 class Point; | 15 class Point; |
16 } | 16 } |
17 | 17 |
18 namespace views { | 18 namespace views { |
19 | 19 |
20 // MouseWatcherListener is notified when the mouse moves outside the host. | 20 // MouseWatcherListener is notified when the mouse moves outside the host. |
21 class VIEWS_EXPORT MouseWatcherListener { | 21 class VIEWS_EXPORT MouseWatcherListener { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 // See description above setter. | 92 // See description above setter. |
93 base::TimeDelta notify_on_exit_time_; | 93 base::TimeDelta notify_on_exit_time_; |
94 | 94 |
95 DISALLOW_COPY_AND_ASSIGN(MouseWatcher); | 95 DISALLOW_COPY_AND_ASSIGN(MouseWatcher); |
96 }; | 96 }; |
97 | 97 |
98 } // namespace views | 98 } // namespace views |
99 | 99 |
100 #endif // UI_VIEWS_MOUSE_WATCHER_H_ | 100 #endif // UI_VIEWS_MOUSE_WATCHER_H_ |
OLD | NEW |