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

Unified Diff: ash/mus/test/wm_test_screen.cc

Issue 2322613002: Adds support for multiple displays to WmTestBase (Closed)
Patch Set: feedback Created 4 years, 3 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/mus/test/wm_test_screen.h ('k') | ash/mus/window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/test/wm_test_screen.cc
diff --git a/ash/mus/test/wm_test_screen.cc b/ash/mus/test/wm_test_screen.cc
deleted file mode 100644
index 684713b3635dfff32808d214e884ef793dd4a101..0000000000000000000000000000000000000000
--- a/ash/mus/test/wm_test_screen.cc
+++ /dev/null
@@ -1,31 +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/mus/test/wm_test_screen.h"
-
-#include "ui/aura/window.h"
-#include "ui/display/display_finder.h"
-
-namespace ash {
-namespace mus {
-
-WmTestScreen::WmTestScreen() {}
-WmTestScreen::~WmTestScreen() {}
-
-gfx::Point WmTestScreen::GetCursorScreenPoint() {
- // TODO(sky): use the implementation from WindowManagerConnection.
- DVLOG(1) << "NOTIMPLEMENTED";
- return gfx::Point();
-}
-
-bool WmTestScreen::IsWindowUnderCursor(gfx::NativeWindow window) {
- if (!window)
- return false;
-
- return window->IsVisible() &&
- window->GetBoundsInScreen().Contains(GetCursorScreenPoint());
-}
-
-} // namespace mus
-} // namespace ash
« no previous file with comments | « ash/mus/test/wm_test_screen.h ('k') | ash/mus/window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698