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

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: rebase 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 704a075b00a2ca15a91d1adafa6963db2a55edbb..2140d1fd55bd8c9406ea6fc512c4a4311c5c5ef3 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -86,6 +86,9 @@ class ASH_EXPORT WmShell {
simulate_modal_window_open_for_testing_ = modal_window_open;
}
+ // 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