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

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

Issue 2361283002: Add GetDisplayWithDisplayId to display::Screen. (Closed)
Patch Set: ref, test, etc 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
Index: ui/aura/test/test_screen.h
diff --git a/ui/aura/test/test_screen.h b/ui/aura/test/test_screen.h
index c5f0284a252b0ae932b823b22fe0f9bf5babca7b..1b6b42b68ee2b2a90041a4f0c26aa14a09cf6000 100644
--- a/ui/aura/test/test_screen.h
+++ b/ui/aura/test/test_screen.h
@@ -56,6 +56,8 @@ class TestScreen : public display::Screen, public WindowObserver {
gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override;
int GetNumDisplays() const override;
std::vector<display::Display> GetAllDisplays() const override;
+ bool GetDisplayWithDisplayId(int64_t display_id,
+ display::Display* display) const override;
display::Display GetDisplayNearestWindow(gfx::NativeView view) const override;
display::Display GetDisplayNearestPoint(
const gfx::Point& point) const override;

Powered by Google App Engine
This is Rietveld 408576698