diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 04:27:21 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-23 04:27:21 +0000 |
commit | 0d62e25920a3e34b740658e26a0c0163ad4ce761 (patch) | |
tree | 8ea28c774ae8befbbc6295848590235a60323674 /ash/screen_ash.h | |
parent | dc9c03b8d63f23271f1fd3b295e0c77f6c282c00 (diff) | |
download | chromium_src-0d62e25920a3e34b740658e26a0c0163ad4ce761.zip chromium_src-0d62e25920a3e34b740658e26a0c0163ad4ce761.tar.gz chromium_src-0d62e25920a3e34b740658e26a0c0163ad4ce761.tar.bz2 |
Overscan calibration UI.
Puts arrows over the display rectangles and enables calibrating the display overscan by mouse clicks and touches.
BUG=139419
TEST=Login, connect secondary display, open chrome://settings/display, and play with its overscan calibrations.
Review URL: https://chromiumcodereview.appspot.com/11195036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/screen_ash.h')
-rw-r--r-- | ash/screen_ash.h | 6 |
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: |