diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-28 23:58:32 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-28 23:58:32 +0000 |
commit | 7bb8f443297e0ef3e09c298a58adc6aebdf8a53f (patch) | |
tree | 45fcc9719addee55adb3f3bffffe6fcaa481f99e /ash/test/ash_test_base.h | |
parent | b969b0a804a1278bcb1828b94809b74e2b6f34d4 (diff) | |
download | chromium_src-7bb8f443297e0ef3e09c298a58adc6aebdf8a53f.zip chromium_src-7bb8f443297e0ef3e09c298a58adc6aebdf8a53f.tar.gz chromium_src-7bb8f443297e0ef3e09c298a58adc6aebdf8a53f.tar.bz2 |
Refactor DisplayInfo/Display - 3rd try
This is a first step to fix overscan issue and implement
screen rotation.
* remove bounds_in_pixel from gfx::Display
* promote DisplayInfo to separate class/file
* All display information is now generated in display_change_observer_x11.cc.
almost no X11 depenency in display_manager.cc
(I'll move FindInternalDisplayID out from display_manager.cc once https://codereview.chromium.org/12217120/ is landed)
This makes testing more consistent with real environment.
* Add DisplayManager::ClearCustomOverscanInsets so that
you can reset the insets to default value.
* Removed obsolete AshTestBase::ChangeDisplayConfig
BUG=174721,119268
TEST=covered by test
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185178
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185230
Review URL: https://chromiumcodereview.appspot.com/12218045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/test/ash_test_base.h')
-rw-r--r-- | ash/test/ash_test_base.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ash/test/ash_test_base.h b/ash/test/ash_test_base.h index 2541c15..3b4bd1d 100644 --- a/ash/test/ash_test_base.h +++ b/ash/test/ash_test_base.h @@ -57,10 +57,6 @@ class AshTestBase : public testing::Test { virtual void SetUp() OVERRIDE; virtual void TearDown() OVERRIDE; - // Change the primary display's configuration to use |bounds| - // and |scale|. - void ChangeDisplayConfig(float scale, const gfx::Rect& bounds); - // Update the display configuration as given in |display_specs|. // See ash::test::DisplayManagerTestApi::UpdateDisplay for more details. void UpdateDisplay(const std::string& display_specs); |