Chromium Code Reviews| Index: ui/display/screen.h |
| diff --git a/ui/display/screen.h b/ui/display/screen.h |
| index 79a0035d2565e9aa4b27d5723591ecd4397f403b..8eeca17751667afe0b0fe1959daa96c7fdd4b5f2 100644 |
| --- a/ui/display/screen.h |
| +++ b/ui/display/screen.h |
| @@ -55,6 +55,10 @@ class DISPLAY_EXPORT Screen { |
| // Returns the list of displays that are currently available. |
| virtual std::vector<display::Display> GetAllDisplays() const = 0; |
| + // Returns the display with |display_id|. |
|
sadrul
2016/09/23 19:51:12
Mention that if the display with the specified id
riajiang
2016/10/05 14:54:11
Done.
|
| + 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. |