summaryrefslogtreecommitdiffstats
path: root/ash/screen_ash_unittest.cc
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-01 19:44:59 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-01 19:44:59 +0000
commit1a01538357fb26d6974a91fbe85b7f861e32c76f (patch)
tree8340058959698e218c6ae99377cc27a24b48aca7 /ash/screen_ash_unittest.cc
parented17b0d18ebb15f1a939d1d4e8f60899c1101661 (diff)
downloadchromium_src-1a01538357fb26d6974a91fbe85b7f861e32c76f.zip
chromium_src-1a01538357fb26d6974a91fbe85b7f861e32c76f.tar.gz
chromium_src-1a01538357fb26d6974a91fbe85b7f861e32c76f.tar.bz2
Use WS_POPUP for ash_unittests
- Layout test windows starting from (1,1) and move mouse to (0,0) so that they don't overlap unless test moves the cursor. - Enabled disabled tests. - RootWindowHostWin::SetBounds should move the window and call OnHostResized when the scale factor has changed. This also seems to fix the desktop size limitation issue (148691) probably because a popup window can be larger than the desktop size. BUG=150986,157817,141577,148691 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170621 Review URL: https://chromiumcodereview.appspot.com/11428066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170673 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/screen_ash_unittest.cc')
-rw-r--r--ash/screen_ash_unittest.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/ash/screen_ash_unittest.cc b/ash/screen_ash_unittest.cc
index 0fc71a6..79e5627 100644
--- a/ash/screen_ash_unittest.cc
+++ b/ash/screen_ash_unittest.cc
@@ -20,7 +20,6 @@ namespace test {
typedef test::AshTestBase ScreenAshTest;
-#if !defined(OS_WIN)
TEST_F(ScreenAshTest, Bounds) {
UpdateDisplay("600x600,500x500");
Shell::GetPrimaryRootWindowController()->SetShelfAutoHideBehavior(
@@ -57,7 +56,6 @@ TEST_F(ScreenAshTest, Bounds) {
ScreenAsh::GetDisplayWorkAreaBoundsInParent(
secondary->GetNativeView()).ToString());
}
-#endif
TEST_F(ScreenAshTest, ConvertRect) {
UpdateDisplay("600x600,500x500");