diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-22 21:13:31 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-22 21:13:31 +0000 |
commit | 8b2447ecbe6d9816975fd2978a439332cd3a78cb (patch) | |
tree | 81e901ec326c1fcecd6c38636848d5bf102972d1 /ash/display/display_controller.h | |
parent | 7c6942232d73e06fa7e6cc94bc9e4017710ffe79 (diff) | |
download | chromium_src-8b2447ecbe6d9816975fd2978a439332cd3a78cb.zip chromium_src-8b2447ecbe6d9816975fd2978a439332cd3a78cb.tar.gz chromium_src-8b2447ecbe6d9816975fd2978a439332cd3a78cb.tar.bz2 |
- Store rotation/ui scale to local state.
- Reset the overscan to the default value if the display has overscan.
- Move overscan data into kDisplayProperties dictionary value.
- Remove Rotate/Scale shortcut from login screen as we can't store the state in login screen.
BUG=196818
TEST=covered by unit test.
Review URL: https://codereview.chromium.org/12505005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/display/display_controller.h')
-rw-r--r-- | ash/display/display_controller.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/display/display_controller.h b/ash/display/display_controller.h index 051704c..3927dc2 100644 --- a/ash/display/display_controller.h +++ b/ash/display/display_controller.h @@ -94,6 +94,7 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver { DisplayController(); virtual ~DisplayController(); + void Start(); void Shutdown(); // Returns primary display. This is safe to use after ash::Shell is @@ -166,6 +167,8 @@ class ASH_EXPORT DisplayController : public gfx::DisplayObserver { void RegisterLayoutForDisplayIdPair(int64 id1, int64 id2, const DisplayLayout& layout); + // OBSOLETE + // TODO(oshima): Remove this in m28. void RegisterLayoutForDisplayId(int64 id, const DisplayLayout& layout); // Sets the layout for the current display pair. The |layout| specifies |