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

Unified Diff: ui/aura/window.h

Issue 1922783002: Move gfx::Display/Screen to display::Display/Screen in aura/events (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/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 38cd39fad6176bd0992df620ecd2997f2c72cc7d..b61881cc9d4c56ed6c6ed219415b70e00bdfd730 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -32,6 +32,13 @@
namespace gfx {
class Display;
+}
+
+namespace display {
+using Display = gfx::Display;
+}
+
+namespace gfx {
class Transform;
class Vector2d;
}
@@ -172,7 +179,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// Changes the bounds of the window in the screen coordintates.
// If present, the window's parent's LayoutManager may adjust the bounds.
void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords,
- const gfx::Display& dst_display);
+ const display::Display& dst_display);
// Returns the target bounds of the window. If the window's layer is
// not animating, it simply returns the current bounds.

Powered by Google App Engine
This is Rietveld 408576698