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

Unified Diff: ash/dip_unittest.cc

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (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
« no previous file with comments | « ash/desktop_background/desktop_background_view.cc ('k') | ash/display/cursor_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/dip_unittest.cc
diff --git a/ash/dip_unittest.cc b/ash/dip_unittest.cc
index f2b8a617e90ae0faf4064fab1a5b94ff0990ab3c..048fa50d40db1c554eda0f9b71d9471bf7c94f1e 100644
--- a/ash/dip_unittest.cc
+++ b/ash/dip_unittest.cc
@@ -17,9 +17,9 @@
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/compositor/layer.h"
-#include "ui/gfx/display.h"
+#include "ui/display/display.h"
+#include "ui/display/screen.h"
#include "ui/gfx/geometry/insets.h"
-#include "ui/gfx/screen.h"
#include "ui/views/widget/widget.h"
#include "ui/wm/core/shadow.h"
#include "ui/wm/core/shadow_controller.h"
@@ -41,8 +41,8 @@ TEST_F(DIPTest, MAYBE_WorkArea) {
UpdateDisplay("1000x900*1.0f");
aura::Window* root = Shell::GetPrimaryRootWindow();
- const gfx::Display display =
- gfx::Screen::GetScreen()->GetDisplayNearestWindow(root);
+ const display::Display display =
+ display::Screen::GetScreen()->GetDisplayNearestWindow(root);
EXPECT_EQ("0,0 1000x900", display.bounds().ToString());
gfx::Rect work_area = display.work_area();
@@ -50,9 +50,9 @@ TEST_F(DIPTest, MAYBE_WorkArea) {
EXPECT_EQ("0,0,47,0", display.bounds().InsetsFrom(work_area).ToString());
UpdateDisplay("2000x1800*2.0f");
- gfx::Screen* screen = gfx::Screen::GetScreen();
+ display::Screen* screen = display::Screen::GetScreen();
- const gfx::Display display_2x = screen->GetDisplayNearestWindow(root);
+ const display::Display display_2x = screen->GetDisplayNearestWindow(root);
const DisplayInfo display_info_2x =
Shell::GetInstance()->display_manager()->GetDisplayInfo(display_2x.id());
« no previous file with comments | « ash/desktop_background/desktop_background_view.cc ('k') | ash/display/cursor_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698