Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2394)

Unified Diff: ui/views/pointer_watcher.h

Issue 2167643005: Revert of mus: Rename .*PointerWatcher.* to .*PointerDownWatcher.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve conflicts Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/pointer_down_watcher.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/pointer_watcher.h
diff --git a/ui/views/pointer_down_watcher.h b/ui/views/pointer_watcher.h
similarity index 81%
rename from ui/views/pointer_down_watcher.h
rename to ui/views/pointer_watcher.h
index bad1d99eb022bf1075f987eb5b142a80143dff2a..5ca10efb4b081548a46c51a77c415cdaf7cf7883 100644
--- a/ui/views/pointer_down_watcher.h
+++ b/ui/views/pointer_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_DOWN_WATCHER_H_
-#define UI_VIEWS_POINTER_DOWN_WATCHER_H_
+#ifndef UI_VIEWS_POINTER_WATCHER_H_
+#define UI_VIEWS_POINTER_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 PointerDownWatcher {
+class VIEWS_EXPORT PointerWatcher {
public:
- PointerDownWatcher() {}
+ PointerWatcher() {}
virtual void OnMousePressed(const ui::MouseEvent& event,
const gfx::Point& location_in_screen,
Widget* target) = 0;
@@ -37,12 +37,12 @@ class VIEWS_EXPORT PointerDownWatcher {
Widget* target) = 0;
protected:
- virtual ~PointerDownWatcher() {}
+ virtual ~PointerWatcher() {}
private:
- DISALLOW_COPY_AND_ASSIGN(PointerDownWatcher);
+ DISALLOW_COPY_AND_ASSIGN(PointerWatcher);
};
} // namespace views
-#endif // UI_VIEWS_POINTER_DOWN_WATCHER_H_
+#endif // UI_VIEWS_POINTER_WATCHER_H_
« no previous file with comments | « ui/views/pointer_down_watcher.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698