| Index: ui/display/screen.h
|
| diff --git a/ui/display/screen.h b/ui/display/screen.h
|
| index 79a0035d2565e9aa4b27d5723591ecd4397f403b..76899ac759ab549aa19f3d4733cbcbae49d3fad1 100644
|
| --- a/ui/display/screen.h
|
| +++ b/ui/display/screen.h
|
| @@ -55,6 +55,12 @@ class DISPLAY_EXPORT Screen {
|
| // Returns the list of displays that are currently available.
|
| virtual std::vector<display::Display> GetAllDisplays() const = 0;
|
|
|
| + // Returns true if the display with |display_id| is found and returns that
|
| + // display in |display|. Otherwise returns false and |display| remains
|
| + // untouched.
|
| + virtual bool GetDisplayWithDisplayId(int64_t display_id,
|
| + display::Display* display) const = 0;
|
| +
|
| // Returns the display nearest the specified window.
|
| // If the window is NULL or the window is not rooted to a display this will
|
| // return the primary display.
|
|
|