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

Unified Diff: ui/views/widget/widget.h

Issue 26427002: Add always-on-top property to app windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed file modes for test files 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/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 151d2f3028d0100b7946586ad398d04868bf9841..6727348373894ecdaeb5d21af961cd7e32aee359 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -461,6 +461,10 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Sets the widget to be on top of all other widgets in the windowing system.
void SetAlwaysOnTop(bool on_top);
+ // Returns whether the widget has been set to be on top of other widgets
+ // in the windowing system.
+ bool IsAlwaysOnTop() const;
+
// Maximizes/minimizes/restores the window.
void Maximize();
void Minimize();

Powered by Google App Engine
This is Rietveld 408576698