Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: ash/screen_ash_unittest.cc

Issue 10790090: Enable Virtual Screen Coordinates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screen_ash_unittest.cc
diff --git a/ash/screen_ash_unittest.cc b/ash/screen_ash_unittest.cc
index 5197e380cbc68426db1a4697c9dfc48f8f710ca8..6bb3b72b2cc21ad1c2c5655a568fd77ba596d602 100644
--- a/ash/screen_ash_unittest.cc
+++ b/ash/screen_ash_unittest.cc
@@ -23,14 +23,12 @@ class ScreenAshTest : public test::AshTestBase {
virtual void SetUp() OVERRIDE {
internal::DisplayController::SetExtendedDesktopEnabled(true);
- internal::DisplayController::SetVirtualScreenCoordinatesEnabled(true);
AshTestBase::SetUp();
}
virtual void TearDown() OVERRIDE {
AshTestBase::TearDown();
internal::DisplayController::SetExtendedDesktopEnabled(false);
- internal::DisplayController::SetVirtualScreenCoordinatesEnabled(false);
}
private:
@@ -39,7 +37,7 @@ class ScreenAshTest : public test::AshTestBase {
#if !defined(OS_WIN)
TEST_F(ScreenAshTest, Bounds) {
- UpdateDisplay("0+0-600x600,600+0-500x500");
+ UpdateDisplay("600x600,500x500");
views::Widget* primary =
views::Widget::CreateWindowWithBounds(NULL, gfx::Rect(10, 10, 100, 100));
@@ -83,7 +81,7 @@ TEST_F(ScreenAshTest, Bounds) {
#endif
TEST_F(ScreenAshTest, ConvertRect) {
- UpdateDisplay("0+0-600x600,600+0-500x500");
+ UpdateDisplay("600x600,500x500");
views::Widget* primary =
views::Widget::CreateWindowWithBounds(NULL, gfx::Rect(10, 10, 100, 100));
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698