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

Unified Diff: ash/wm/window_util.h

Issue 2285633002: Add WM_EVENT_TRUSTED_PIN and WINDOW_STATE_TYPE_TRUSTED_PINNED to Ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments. 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
Index: ash/wm/window_util.h
diff --git a/ash/wm/window_util.h b/ash/wm/window_util.h
index 81a098a92b183530da7371c8953a8e887aacb99e..4d26b788d670aaf9563bec1965a5e7e8da07de81 100644
--- a/ash/wm/window_util.h
+++ b/ash/wm/window_util.h
@@ -47,7 +47,7 @@ ASH_EXPORT aura::Window* GetActivatableWindow(aura::Window* window);
ASH_EXPORT bool IsWindowUserPositionable(aura::Window* window);
// Pins the window on top of other windows.
-ASH_EXPORT void PinWindow(aura::Window* window);
+ASH_EXPORT void PinWindow(aura::Window* window, bool trusted);
// Moves |window| to the root window where the |event| occured if it is not
// already in the same root window. Returns true if |window| was moved.

Powered by Google App Engine
This is Rietveld 408576698