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

Unified Diff: chromecast/graphics/cast_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: chromecast/graphics/cast_screen.h
diff --git a/chromecast/graphics/cast_screen.h b/chromecast/graphics/cast_screen.h
index c100a892ff2a5e12aaee65a4e8ff5552d2ee9a2e..f8ebaab9634917d9259cee5c3b4aae14f9589771 100644
--- a/chromecast/graphics/cast_screen.h
+++ b/chromecast/graphics/cast_screen.h
@@ -30,6 +30,8 @@ class CastScreen : public display::Screen {
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