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

Unified Diff: ui/message_center/views/message_popup_collection.h

Issue 1922013002: Rename gfx::Display/Screen to display::Display/Screen in message_center (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: ui/message_center/views/message_popup_collection.h
diff --git a/ui/message_center/views/message_popup_collection.h b/ui/message_center/views/message_popup_collection.h
index b255231bbc71d2e674bb91c798cb6cf8ca70b9eb..2910f24d9e9c9184150841832c6a649623bb6431 100644
--- a/ui/message_center/views/message_popup_collection.h
+++ b/ui/message_center/views/message_popup_collection.h
@@ -32,7 +32,10 @@ class Widget;
namespace gfx {
class Display;
-class Screen;
+}
+
+namespace display {
+using Display = gfx::Display;
}
namespace message_center {
@@ -99,7 +102,7 @@ class MESSAGE_CENTER_EXPORT MessagePopupCollection
void ForgetToast(ToastContentsView* toast);
// Called when the display bounds has been changed. Used in Windows only.
- void OnDisplayMetricsChanged(const gfx::Display& display);
+ void OnDisplayMetricsChanged(const display::Display& display);
// Used by ToastContentsView to locate itself.
gfx::NativeView parent() const { return parent_; }

Powered by Google App Engine
This is Rietveld 408576698