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

Unified Diff: ash/common/wm_shell.h

Issue 2072853002: Implement "pinned" mode in ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index be70d71e221621fe6da9d565eb187775883c9a68..d3d9567bce513f06249f7a407fb1089dbc5c8eab 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -75,6 +75,9 @@ class ASH_EXPORT WmShell {
// the window size.
virtual bool IsForceMaximizeOnFirstRun() = 0;
+ // Returns true if a window is currently pinned.
+ virtual bool IsPinned() = 0;
+
// Returns true if |window| can be shown for the current user. This is
// intended to check if the current user matches the user associated with
// |window|.

Powered by Google App Engine
This is Rietveld 408576698