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

Unified Diff: chrome/browser/ui/app_list/app_list_service_mac.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/app_list/app_list_service_mac.h
diff --git a/chrome/browser/ui/app_list/app_list_service_mac.h b/chrome/browser/ui/app_list/app_list_service_mac.h
index 2fa1d468305298d290857ad5464777f5002e14b9..79b1527d901aa0d384b77ccf21dbda265d667b12 100644
--- a/chrome/browser/ui/app_list/app_list_service_mac.h
+++ b/chrome/browser/ui/app_list/app_list_service_mac.h
@@ -21,6 +21,10 @@ class Display;
class Point;
}
+namespace display {
+using Display = gfx::Display;
+}
+
// AppListServiceMac manages global resources needed for the app list to
// operate, and controls when and how the app list is opened and closed.
class AppListServiceMac : public AppListServiceImpl,
@@ -37,7 +41,7 @@ class AppListServiceMac : public AppListServiceImpl,
// from. Coordinates are for the bottom-left coordinate of the window, in
// AppKit space (Y positive is up).
static void FindAnchorPoint(const gfx::Size& window_size,
- const gfx::Display& display,
+ const display::Display& display,
int primary_display_height,
bool cursor_is_visible,
const gfx::Point& cursor,

Powered by Google App Engine
This is Rietveld 408576698