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

Unified Diff: ash/wm/panels/panel_window_resizer.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/wm/panels/panel_layout_manager_unittest.cc ('k') | ash/wm/system_gesture_event_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_window_resizer.cc
diff --git a/ash/wm/panels/panel_window_resizer.cc b/ash/wm/panels/panel_window_resizer.cc
index 8d5643a635acc150cbb7e8034b32ae892d9a5b6a..8ece548600bfad8590c746f6ec5e5b3fa096ce22 100644
--- a/ash/wm/panels/panel_window_resizer.cc
+++ b/ash/wm/panels/panel_window_resizer.cc
@@ -16,7 +16,7 @@
#include "ash/wm/panels/panel_layout_manager.h"
#include "ui/base/hit_test.h"
#include "ui/base/ui_base_types.h"
-#include "ui/gfx/screen.h"
+#include "ui/display/screen.h"
#include "ui/views/widget/widget.h"
namespace ash {
@@ -45,8 +45,8 @@ void PanelWindowResizer::Drag(const gfx::Point& location, int event_flags) {
}
// Check if the destination has changed displays.
- gfx::Screen* screen = gfx::Screen::GetScreen();
- const gfx::Display dst_display =
+ display::Screen* screen = display::Screen::GetScreen();
+ const display::Display dst_display =
screen->GetDisplayNearestPoint(last_location_);
if (dst_display.id() !=
panel_container_->GetRootWindow()->GetDisplayNearestWindow().id()) {
« no previous file with comments | « ash/wm/panels/panel_layout_manager_unittest.cc ('k') | ash/wm/system_gesture_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698