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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_win.h

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/views/app_list/win/app_list_win.h
diff --git a/chrome/browser/ui/views/app_list/win/app_list_win.h b/chrome/browser/ui/views/app_list/win/app_list_win.h
index 95b9903341e37bf1715fe749eb0a35aab3987bb7..5d530645020df53d0caf1295fa4c469412ed09b7 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_win.h
+++ b/chrome/browser/ui/views/app_list/win/app_list_win.h
@@ -16,6 +16,10 @@ class Rect;
class Size;
}
+namespace display {
Lei Zhang 2016/04/28 20:13:11 Is this temporary?
oshima 2016/04/28 20:19:04 yes. I'll remove them when the transition is compl
+using Display = gfx::Display;
+}
+
// Responsible for positioning an AppListView on Windows.
// TODO(tapted): Shouldn't be a class - move the static member functions out.
class AppListWin {
@@ -26,7 +30,7 @@ class AppListWin {
// intended coordinates for the center of the window. If |taskbar_rect| is
// empty, assumes there is no taskbar on the given display.
static gfx::Point FindAnchorPoint(const gfx::Size& view_size,
- const gfx::Display& display,
+ const display::Display& display,
const gfx::Point& cursor,
const gfx::Rect& taskbar_rect,
bool center_window);

Powered by Google App Engine
This is Rietveld 408576698