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

Unified Diff: ash/screen_util.h

Issue 2215223004: mash: Migrate ShelfLayoutManager ScreenUtil usage to ash common types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore screen bounds conversion for app list. Created 4 years, 4 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/mus/bridge/wm_shell_mus.cc ('k') | ash/screen_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/screen_util.h
diff --git a/ash/screen_util.h b/ash/screen_util.h
index 853c12e83763d794ab2ad33f306db628bb9d253b..22d5a505e0c99dc2e1078573bbc009e79d76d4ff 100644
--- a/ash/screen_util.h
+++ b/ash/screen_util.h
@@ -40,15 +40,6 @@ class ASH_EXPORT ScreenUtil {
// Returns the display's work area bounds in parent coordinates.
static gfx::Rect GetDisplayWorkAreaBoundsInParent(aura::Window* window);
- // Returns the physical display bounds containing the shelf that
- // shares the same root window as |root|. Physical displays can
- // differ from logical displays in unified desktop mode.
- // TODO(oshima): If we need to expand the unified desktop support to
- // general use, we should consider always using physical display in
- // window layout instead of root window, and keep the logical
- // display only in display management code.
- static gfx::Rect GetShelfDisplayBoundsInRoot(aura::Window* window);
-
// TODO(oshima): Move following two to wm/coordinate_conversion.h
// Converts |rect| from |window|'s coordinates to the virtual screen
// coordinates.
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | ash/screen_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698