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

Unified Diff: ash/aura/wm_shell_aura.cc

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/aura/wm_shell_aura.h ('k') | ash/common/wm/wm_screen_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_shell_aura.cc
diff --git a/ash/aura/wm_shell_aura.cc b/ash/aura/wm_shell_aura.cc
index 1881d36b4a3aa3835d67325a8ede5fee068a842a..e5e067dc323ac24b7d0fa7aa35432b52e6a9b0b2 100644
--- a/ash/aura/wm_shell_aura.cc
+++ b/ash/aura/wm_shell_aura.cc
@@ -96,6 +96,16 @@ bool WmShellAura::IsActiveDisplayId(int64_t display_id) const {
return Shell::GetInstance()->display_manager()->IsActiveDisplayId(display_id);
}
+display::Display WmShellAura::GetFirstDisplay() const {
+ return Shell::GetInstance()
+ ->display_manager()
+ ->software_mirroring_display_list()[0];
+}
+
+bool WmShellAura::IsInUnifiedMode() const {
+ return Shell::GetInstance()->display_manager()->IsInUnifiedMode();
+}
+
bool WmShellAura::IsForceMaximizeOnFirstRun() {
return delegate()->IsForceMaximizeOnFirstRun();
}
« no previous file with comments | « ash/aura/wm_shell_aura.h ('k') | ash/common/wm/wm_screen_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698