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

Unified Diff: ash/common/wm_shell.h

Issue 2225083003: mash: Add WmShell::SetDisplayWorkAreaInsets for ShelfLayoutManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits; fix bad argument. 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.cc ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index 790809a04ff5439e65cc8d56d170fc882ce10a30..02dbdfc40f7cc721b0dda0a0b84076c578c4344f 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -23,6 +23,7 @@ class Display;
}
namespace gfx {
+class Insets;
class Point;
}
@@ -188,6 +189,10 @@ class ASH_EXPORT WmShell {
// the window size.
virtual bool IsForceMaximizeOnFirstRun() = 0;
+ // Sets work area insets of the display containing |window|, pings observers.
+ virtual void SetDisplayWorkAreaInsets(WmWindow* window,
+ const gfx::Insets& insets) = 0;
+
// Returns true if a system-modal dialog window is currently open.
bool IsSystemModalWindowOpen();
« no previous file with comments | « ash/aura/wm_shell_aura.cc ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698