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

Unified Diff: ash/display/display_util.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/display/display_manager_unittest.cc ('k') | ash/display/display_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_util.h
diff --git a/ash/display/display_util.h b/ash/display/display_util.h
index 7c1a5b781f9f37cce7bd8bff58bdf35c714758d3..0dfd0d4400baf52391106c3d18d6193beab73642 100644
--- a/ash/display/display_util.h
+++ b/ash/display/display_util.h
@@ -15,7 +15,6 @@
#include "ui/display/manager/display_layout.h"
namespace gfx {
-class Display;
class Point;
class Rect;
class Size;
@@ -64,8 +63,8 @@ bool HasDisplayModeForUIScale(const DisplayInfo& info, float ui_scale);
// Computes the bounds that defines the bounds between two displays.
// Returns false if two displays do not intersect.
-bool ComputeBoundary(const gfx::Display& primary_display,
- const gfx::Display& secondary_display,
+bool ComputeBoundary(const display::Display& primary_display,
+ const display::Display& secondary_display,
gfx::Rect* primary_edge_in_screen,
gfx::Rect* secondary_edge_in_screen);
@@ -85,7 +84,7 @@ void MoveCursorTo(AshWindowTreeHost* ash_host,
// Returns the index in the displays whose bounds contains |point_in_screen|.
// Returns -1 if no such display exist.
ASH_EXPORT int FindDisplayIndexContainingPoint(
- const std::vector<gfx::Display>& displays,
+ const std::vector<display::Display>& displays,
const gfx::Point& point_in_screen);
// Sorts id list using |CompareDisplayIds| below.
« no previous file with comments | « ash/display/display_manager_unittest.cc ('k') | ash/display/display_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698