summaryrefslogtreecommitdiffstats
path: root/ash/screen_ash.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/screen_ash.h')
-rw-r--r--ash/screen_ash.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ash/screen_ash.h b/ash/screen_ash.h
index 27bddb9..89220e2 100644
--- a/ash/screen_ash.h
+++ b/ash/screen_ash.h
@@ -48,9 +48,13 @@ class ASH_EXPORT ScreenAsh : public gfx::Screen {
const gfx::Rect& rect);
// Returns a gfx::Display object for secondary display. Returns
- // ivalid display if there is no secondary display connected.
+ // invalid display if there is no secondary display connected.
static const gfx::Display& GetSecondaryDisplay();
+ // Returns a gfx::Display object for the specified id. Returns
+ // invalid display if no such display is connected.
+ static const gfx::Display& GetDisplayForId(int64 display_id);
+
protected:
// Implementation of gfx::Screen: