summaryrefslogtreecommitdiffstats
path: root/ash/screen_ash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/screen_ash.cc')
-rw-r--r--ash/screen_ash.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
index 41053bd..e5417a2 100644
--- a/ash/screen_ash.cc
+++ b/ash/screen_ash.cc
@@ -84,6 +84,11 @@ const gfx::Display& ScreenAsh::GetSecondaryDisplay() {
return *(Shell::GetInstance()->display_controller()->GetSecondaryDisplay());
}
+// static
+const gfx::Display& ScreenAsh::GetDisplayForId(int64 display_id) {
+ return GetDisplayManager()->GetDisplayForId(display_id);
+}
+
bool ScreenAsh::IsDIPEnabled() {
return true;
}