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

Unified Diff: chrome/browser/ui/ash/window_positioner_unittest.cc

Issue 1920263003: Rename gfx::Display/Screen to display::Display/Screen in chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: chrome/browser/ui/ash/window_positioner_unittest.cc
diff --git a/chrome/browser/ui/ash/window_positioner_unittest.cc b/chrome/browser/ui/ash/window_positioner_unittest.cc
index 0dab8c386ca659e238adea88880ddfcf13a8526f..7688c891e51baac2c6e0c1752c9beabad15a4752 100644
--- a/chrome/browser/ui/ash/window_positioner_unittest.cc
+++ b/chrome/browser/ui/ash/window_positioner_unittest.cc
@@ -21,7 +21,7 @@
#include "ui/aura/env.h"
#include "ui/aura/test/test_windows.h"
#include "ui/aura/window_event_dispatcher.h"
-#include "ui/gfx/screen.h"
+#include "ui/display/screen.h"
namespace ash {
namespace test {
@@ -101,7 +101,7 @@ int AlignToGridRoundDown(int location, int grid_size) {
TEST_F(WindowPositionerTest, cascading) {
const gfx::Rect work_area =
- gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area();
+ display::Screen::GetScreen()->GetPrimaryDisplay().work_area();
// First see that the window will cascade down when there is no space.
window()->SetBounds(work_area);
@@ -162,7 +162,7 @@ TEST_F(WindowPositionerTest, cascading) {
TEST_F(WindowPositionerTest, filling) {
const gfx::Rect work_area =
- gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area();
+ display::Screen::GetScreen()->GetPrimaryDisplay().work_area();
gfx::Rect popup_position(0, 0, 256, 128);
// Leave space on the left and the right and see if we fill top to bottom.
window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width(),
@@ -217,7 +217,7 @@ TEST_F(WindowPositionerTest, filling) {
TEST_F(WindowPositionerTest, biggerThenBorder) {
const gfx::Rect work_area =
- gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area();
+ display::Screen::GetScreen()->GetPrimaryDisplay().work_area();
gfx::Rect pop_position(0, 0, work_area.width(), work_area.height());

Powered by Google App Engine
This is Rietveld 408576698