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

Unified Diff: ui/display/test/test_screen.h

Issue 2361283002: Add GetDisplayWithDisplayId to display::Screen. (Closed)
Patch Set: id Created 4 years, 2 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
Index: ui/display/test/test_screen.h
diff --git a/ui/display/test/test_screen.h b/ui/display/test/test_screen.h
index fb822f5d8dcd67e11426add22056ad13f72583b6..af9eabb8b7d7aaf9247f8af9f2fdaab6d9644772 100644
--- a/ui/display/test/test_screen.h
+++ b/ui/display/test/test_screen.h
@@ -33,6 +33,8 @@ class TestScreen : public Screen {
gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override;
int GetNumDisplays() const override;
std::vector<Display> GetAllDisplays() const override;
+ bool GetDisplayWithDisplayId(int64_t display_id,
+ display::Display* display) const override;
Display GetDisplayNearestWindow(gfx::NativeView view) const override;
Display GetDisplayNearestPoint(const gfx::Point& point) const override;
Display GetDisplayMatching(const gfx::Rect& match_rect) const override;

Powered by Google App Engine
This is Rietveld 408576698