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

Unified Diff: ash/wm/drag_window_controller.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/drag_window_controller.h ('k') | ash/wm/drag_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/drag_window_controller.cc
diff --git a/ash/wm/drag_window_controller.cc b/ash/wm/drag_window_controller.cc
index 4ff5c0074e401ca8983f0fbfb13dd576d794c596..6d85f4eceb5f30471cccc2f195196ec50c637618 100644
--- a/ash/wm/drag_window_controller.cc
+++ b/ash/wm/drag_window_controller.cc
@@ -32,7 +32,8 @@ namespace ash {
// and opacity based on the current bounds.
class DragWindowController::DragWindowDetails : public aura::WindowDelegate {
public:
- DragWindowDetails(const gfx::Display& display, aura::Window* original_window)
+ DragWindowDetails(const display::Display& display,
+ aura::Window* original_window)
: root_window_(Shell::GetInstance()
->window_tree_host_manager()
->GetRootWindowForDisplayId(display.id())) {}
@@ -182,10 +183,10 @@ float DragWindowController::GetDragWindowOpacity(
DragWindowController::DragWindowController(aura::Window* window)
: window_(window) {
DCHECK(drag_windows_.empty());
- gfx::Screen* screen = gfx::Screen::GetScreen();
- gfx::Display current = screen->GetDisplayNearestWindow(window_);
+ display::Screen* screen = display::Screen::GetScreen();
+ display::Display current = screen->GetDisplayNearestWindow(window_);
- for (const gfx::Display& display : screen->GetAllDisplays()) {
+ for (const display::Display& display : screen->GetAllDisplays()) {
if (current.id() == display.id())
continue;
drag_windows_.push_back(
« no previous file with comments | « ash/wm/drag_window_controller.h ('k') | ash/wm/drag_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698