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

Unified Diff: ash/common/system/tray/tray_event_filter.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 | « ash/common/shell_delegate.h ('k') | ash/common/system/tray/tray_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_event_filter.h
diff --git a/ash/common/system/tray/tray_event_filter.h b/ash/common/system/tray/tray_event_filter.h
index ac544a3e2686ec9a2eb2f519935775077621db42..88a5ba8085c61a5daf12914a73c113d5e43c8d24 100644
--- a/ash/common/system/tray/tray_event_filter.h
+++ b/ash/common/system/tray/tray_event_filter.h
@@ -8,7 +8,7 @@
#include <set>
#include "base/macros.h"
-#include "ui/views/pointer_down_watcher.h"
+#include "ui/views/pointer_watcher.h"
namespace gfx {
class Point;
@@ -23,7 +23,7 @@ class TrayBubbleWrapper;
// Handles events for a tray bubble, e.g. to close the system tray bubble when
// the user clicks outside it.
-class TrayEventFilter : public views::PointerDownWatcher {
+class TrayEventFilter : public views::PointerWatcher {
public:
TrayEventFilter();
~TrayEventFilter() override;
@@ -31,7 +31,7 @@ class TrayEventFilter : public views::PointerDownWatcher {
void AddWrapper(TrayBubbleWrapper* wrapper);
void RemoveWrapper(TrayBubbleWrapper* wrapper);
- // views::PointerDownWatcher:
+ // views::PointerWatcher:
void OnMousePressed(const ui::MouseEvent& event,
const gfx::Point& location_in_screen,
views::Widget* target) override;
« no previous file with comments | « ash/common/shell_delegate.h ('k') | ash/common/system/tray/tray_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698