diff options
Diffstat (limited to 'ui/aura/test/test_screen.cc')
-rw-r--r-- | ui/aura/test/test_screen.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/aura/test/test_screen.cc b/ui/aura/test/test_screen.cc index 13d1232..474ac29 100644 --- a/ui/aura/test/test_screen.cc +++ b/ui/aura/test/test_screen.cc @@ -113,10 +113,14 @@ gfx::NativeWindow TestScreen::GetWindowAtCursorScreenPoint() { return root_window_->GetTopWindowContainingPoint(point); } -int TestScreen::GetNumDisplays() { +int TestScreen::GetNumDisplays() const { return 1; } +std::vector<gfx::Display> TestScreen::GetAllDisplays() const { + return std::vector<gfx::Display>(1, display_); +} + gfx::Display TestScreen::GetDisplayNearestWindow( gfx::NativeWindow window) const { return display_; |