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

Unified Diff: ash/sysui/pointer_down_watcher_delegate_mus.cc

Issue 2158273003: mus: Rename .*PointerWatcher.* to .*PointerDownWatcher.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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.h ('k') | ash/sysui/pointer_watcher_delegate_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/pointer_down_watcher_delegate_mus.cc
diff --git a/ash/sysui/pointer_down_watcher_delegate_mus.cc b/ash/sysui/pointer_down_watcher_delegate_mus.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9dc01d8ab1f6c5ebd477c4991ee33a2c3b4e6a62
--- /dev/null
+++ b/ash/sysui/pointer_down_watcher_delegate_mus.cc
@@ -0,0 +1,25 @@
+// 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.
+
+#include "ash/sysui/pointer_down_watcher_delegate_mus.h"
+
+#include "ui/views/mus/window_manager_connection.h"
+
+namespace ash {
+
+PointerDownWatcherDelegateMus::PointerDownWatcherDelegateMus() {}
+
+PointerDownWatcherDelegateMus::~PointerDownWatcherDelegateMus() {}
+
+void PointerDownWatcherDelegateMus::AddPointerDownWatcher(
+ views::PointerDownWatcher* watcher) {
+ views::WindowManagerConnection::Get()->AddPointerDownWatcher(watcher);
+}
+
+void PointerDownWatcherDelegateMus::RemovePointerDownWatcher(
+ views::PointerDownWatcher* watcher) {
+ views::WindowManagerConnection::Get()->RemovePointerDownWatcher(watcher);
+}
+
+} // namespace ash
« no previous file with comments | « ash/sysui/pointer_down_watcher_delegate_mus.h ('k') | ash/sysui/pointer_watcher_delegate_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698