Index: ui/views/pointer_down_watcher.h |
diff --git a/ui/views/pointer_watcher.h b/ui/views/pointer_down_watcher.h |
similarity index 81% |
rename from ui/views/pointer_watcher.h |
rename to ui/views/pointer_down_watcher.h |
index 5ca10efb4b081548a46c51a77c415cdaf7cf7883..bad1d99eb022bf1075f987eb5b142a80143dff2a 100644 |
--- a/ui/views/pointer_watcher.h |
+++ b/ui/views/pointer_down_watcher.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef UI_VIEWS_POINTER_WATCHER_H_ |
-#define UI_VIEWS_POINTER_WATCHER_H_ |
+#ifndef UI_VIEWS_POINTER_DOWN_WATCHER_H_ |
+#define UI_VIEWS_POINTER_DOWN_WATCHER_H_ |
#include "base/macros.h" |
#include "ui/views/views_export.h" |
@@ -26,9 +26,9 @@ class Widget; |
// NOTE: On mus this allows observation of events outside of windows owned |
// by the current process, in which case the |target| will be null. On mus |
// event.target() is always null. |
-class VIEWS_EXPORT PointerWatcher { |
+class VIEWS_EXPORT PointerDownWatcher { |
public: |
- PointerWatcher() {} |
+ PointerDownWatcher() {} |
virtual void OnMousePressed(const ui::MouseEvent& event, |
const gfx::Point& location_in_screen, |
Widget* target) = 0; |
@@ -37,12 +37,12 @@ class VIEWS_EXPORT PointerWatcher { |
Widget* target) = 0; |
protected: |
- virtual ~PointerWatcher() {} |
+ virtual ~PointerDownWatcher() {} |
private: |
- DISALLOW_COPY_AND_ASSIGN(PointerWatcher); |
+ DISALLOW_COPY_AND_ASSIGN(PointerDownWatcher); |
}; |
} // namespace views |
-#endif // UI_VIEWS_POINTER_WATCHER_H_ |
+#endif // UI_VIEWS_POINTER_DOWN_WATCHER_H_ |