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

Unified Diff: ash/sysui/pointer_watcher_delegate_mus.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/sysui/pointer_down_watcher_delegate_mus.cc ('k') | ash/sysui/pointer_watcher_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/pointer_watcher_delegate_mus.h
diff --git a/ash/sysui/pointer_watcher_delegate_mus.h b/ash/sysui/pointer_watcher_delegate_mus.h
new file mode 100644
index 0000000000000000000000000000000000000000..360b8a9870c150ef1803a92ab1069ece0f50f37f
--- /dev/null
+++ b/ash/sysui/pointer_watcher_delegate_mus.h
@@ -0,0 +1,29 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_
+#define ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_
+
+#include "ash/common/pointer_watcher_delegate.h"
+#include "base/macros.h"
+
+namespace ash {
+
+// PointerWatcher support on mus via the WindowManagerConnection.
+class PointerWatcherDelegateMus : public PointerWatcherDelegate {
+ public:
+ PointerWatcherDelegateMus();
+ ~PointerWatcherDelegateMus() override;
+
+ // PointerWatcherDelegate:
+ void AddPointerWatcher(views::PointerWatcher* watcher) override;
+ void RemovePointerWatcher(views::PointerWatcher* watcher) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PointerWatcherDelegateMus);
+};
+
+} // namespace ash
+
+#endif // ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_
« no previous file with comments | « ash/sysui/pointer_down_watcher_delegate_mus.cc ('k') | ash/sysui/pointer_watcher_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698