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

Side by Side Diff: ash/mus/test/wm_test_screen.h

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 unified diff | Download patch
« no previous file with comments | « ash/mus/test/wm_test_helper.cc ('k') | ash/mus/test/wm_test_screen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_MUS_TEST_WM_TEST_SCREEN_H_
6 #define ASH_MUS_TEST_WM_TEST_SCREEN_H_
7
8 #include "ui/display/screen_base.h"
9
10 namespace ash {
11 namespace mus {
12
13 // Screen implementation used by tests for the windowmanager. Does not talk
14 // to mus. Tests must keep the list of Displays in sync manually.
15 class WmTestScreen : public display::ScreenBase {
16 public:
17 WmTestScreen();
18 ~WmTestScreen() override;
19
20 private:
21 // display::ScreenBase:
22 gfx::Point GetCursorScreenPoint() override;
23 bool IsWindowUnderCursor(gfx::NativeWindow window) override;
24
25 DISALLOW_COPY_AND_ASSIGN(WmTestScreen);
26 };
27
28 } // namespace mus
29 } // namespace ash
30
31 #endif // ASH_MUS_TEST_WM_TEST_SCREEN_H_
OLDNEW
« no previous file with comments | « ash/mus/test/wm_test_helper.cc ('k') | ash/mus/test/wm_test_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698