| Index: ui/display/screen_unittest.cc
|
| diff --git a/ui/gfx/screen_unittest.cc b/ui/display/screen_unittest.cc
|
| similarity index 74%
|
| rename from ui/gfx/screen_unittest.cc
|
| rename to ui/display/screen_unittest.cc
|
| index 8b63ac70b52a3a493ffb110f0fee463a95ca4560..f9b9d0cf65b6b651c585f43a63b1abfdbe261ebe 100644
|
| --- a/ui/gfx/screen_unittest.cc
|
| +++ b/ui/display/screen_unittest.cc
|
| @@ -2,22 +2,22 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "ui/gfx/screen.h"
|
| +#include "ui/display/screen.h"
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -namespace {
|
| +namespace display {
|
|
|
| TEST(ScreenTest, GetPrimaryDisplaySize) {
|
| // We aren't actually testing that it's correct, just that it's sane.
|
| - const gfx::Size size = gfx::Screen::GetScreen()->GetPrimaryDisplay().size();
|
| + const gfx::Size size = Screen::GetScreen()->GetPrimaryDisplay().size();
|
| EXPECT_GE(size.width(), 1);
|
| EXPECT_GE(size.height(), 1);
|
| }
|
|
|
| TEST(ScreenTest, GetNumDisplays) {
|
| // We aren't actually testing that it's correct, just that it's sane.
|
| - EXPECT_GE(gfx::Screen::GetScreen()->GetNumDisplays(), 1);
|
| + EXPECT_GE(Screen::GetScreen()->GetNumDisplays(), 1);
|
| }
|
|
|
| } // namespace
|
|
|