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

Unified Diff: ash/wm/common/wm_window.h

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/common/wm_screen_util.cc ('k') | ash/wm/dock/docked_window_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/wm_window.h
diff --git a/ash/wm/common/wm_window.h b/ash/wm/common/wm_window.h
index 7c04ad8de3dc99db2d737516ace53fb3599efb0a..8ed74ef0384355eddd502c68d572356ee7a06514 100644
--- a/ash/wm/common/wm_window.h
+++ b/ash/wm/common/wm_window.h
@@ -21,6 +21,10 @@ class Rect;
class Size;
}
+namespace display {
+using Display = gfx::Display;
+}
+
namespace ui {
class Layer;
}
@@ -70,7 +74,7 @@ class ASH_EXPORT WmWindow {
// TODO(sky): seems like this shouldn't be exposed.
virtual ui::Layer* GetLayer() = 0;
- virtual gfx::Display GetDisplayNearestWindow() = 0;
+ virtual display::Display GetDisplayNearestWindow() = 0;
virtual bool HasNonClientArea() = 0;
virtual int GetNonClientComponent(const gfx::Point& location) = 0;
@@ -134,7 +138,7 @@ class ASH_EXPORT WmWindow {
virtual void SetBoundsDirectAnimated(const gfx::Rect& bounds) = 0;
virtual void SetBoundsDirectCrossFade(const gfx::Rect& bounds) = 0;
virtual void SetBoundsInScreen(const gfx::Rect& bounds_in_screen,
- const gfx::Display& dst_display) = 0;
+ const display::Display& dst_display) = 0;
virtual gfx::Rect GetBoundsInScreen() const = 0;
virtual const gfx::Rect& GetBounds() const = 0;
virtual gfx::Rect GetTargetBounds() = 0;
« no previous file with comments | « ash/wm/common/wm_screen_util.cc ('k') | ash/wm/dock/docked_window_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698