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

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: 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
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 151d2f3028d0100b7946586ad398d04868bf9841..3ff89e45c26b1dafa69616be183ee0b39895b058 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();
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698