summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/widget/widget.h')
-rw-r--r--ui/views/widget/widget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 151d2f3..3ff89e4 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 most other widgets
+ // in the windowing system.
+ bool IsAlwaysOnTop() const;
+
// Maximizes/minimizes/restores the window.
void Maximize();
void Minimize();