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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_x11.h

Issue 2361283002: Add GetDisplayWithDisplayId to display::Screen. (Closed)
Patch Set: test 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/views/widget/desktop_aura/desktop_screen_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.h b/ui/views/widget/desktop_aura/desktop_screen_x11.h
index 03f5c6255b03ac75a1684ac4c3fe3836ed4fc073..eca7c9795f704a9fb8fed1d4fdeffa9df2117986 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.h
@@ -42,6 +42,8 @@ class VIEWS_EXPORT DesktopScreenX11 : 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 window) const override;
display::Display GetDisplayNearestPoint(

Powered by Google App Engine
This is Rietveld 408576698