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

Unified Diff: ui/base/base_window.h

Issue 26427002: Add always-on-top property to app windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 7 years, 2 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: ui/base/base_window.h
diff --git a/ui/base/base_window.h b/ui/base/base_window.h
index d5fd2fae1c4e27e4bc38df11c90108a18741d30e..73c26890b64aa8fc1c63d1a126139f0723c67e23 100644
--- a/ui/base/base_window.h
+++ b/ui/base/base_window.h
@@ -88,6 +88,10 @@ class UI_EXPORT BaseWindow {
// Returns true if a window is set to be always on top.
virtual bool IsAlwaysOnTop() const = 0;
+
+ // If set to true, the window will stay on top of other windows which do not
+ // have this flag enabled.
+ virtual void SetAlwaysOnTop(bool always_on_top) = 0;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698