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

Unified Diff: ash/screen_util.h

Issue 2660873002: Move two utility functions from ash/screen_util.h to ui/wm/core/coordinate_conversion.h (Closed)
Patch Set: Created 3 years, 11 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: ash/screen_util.h
diff --git a/ash/screen_util.h b/ash/screen_util.h
index c0c3ce99b6288ba88b0b210f448acbeecd99a8b7..36ca242009a296a74f3fa7d83d35ad1356594a1f 100644
--- a/ash/screen_util.h
+++ b/ash/screen_util.h
@@ -30,16 +30,6 @@ class ASH_EXPORT ScreenUtil {
// Returns the display's work area bounds in parent coordinates.
static gfx::Rect GetDisplayWorkAreaBoundsInParent(aura::Window* window);
- // TODO(oshima): Move following two to wm/coordinate_conversion.h
- // Converts |rect| from |window|'s coordinates to the virtual screen
- // coordinates.
- static gfx::Rect ConvertRectToScreen(aura::Window* window,
- const gfx::Rect& rect);
-
- // Converts |rect| from virtual screen coordinates to the |window|'s
- // coordinates.
- static gfx::Rect ConvertRectFromScreen(aura::Window* window,
- const gfx::Rect& rect);
private:
ScreenUtil() {}
~ScreenUtil() {}

Powered by Google App Engine
This is Rietveld 408576698