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

Unified Diff: ash/sysui/pointer_watcher_delegate_mus.cc

Issue 2267023003: ash: Eliminate PointerWatcherDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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_watcher_delegate_mus.h ('k') | ash/sysui/shell_delegate_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/pointer_watcher_delegate_mus.cc
diff --git a/ash/sysui/pointer_watcher_delegate_mus.cc b/ash/sysui/pointer_watcher_delegate_mus.cc
deleted file mode 100644
index 0487af9d8686a628074ec77c0f6fd9ad4e0f9f9f..0000000000000000000000000000000000000000
--- a/ash/sysui/pointer_watcher_delegate_mus.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// 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_watcher_delegate_mus.h"
-
-#include "ui/views/mus/window_manager_connection.h"
-
-namespace ash {
-
-PointerWatcherDelegateMus::PointerWatcherDelegateMus() {}
-
-PointerWatcherDelegateMus::~PointerWatcherDelegateMus() {}
-
-void PointerWatcherDelegateMus::AddPointerWatcher(
- views::PointerWatcher* watcher) {
- views::WindowManagerConnection::Get()->AddPointerWatcher(
- watcher, false /* want_moves */);
-}
-
-void PointerWatcherDelegateMus::RemovePointerWatcher(
- views::PointerWatcher* watcher) {
- views::WindowManagerConnection::Get()->RemovePointerWatcher(watcher);
-}
-
-} // namespace ash
« no previous file with comments | « ash/sysui/pointer_watcher_delegate_mus.h ('k') | ash/sysui/shell_delegate_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698