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

Unified Diff: apps/shell_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: Cache state of isAlwaysOnTop in widget. Fixed clobber in x11 window init. 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: apps/shell_window.h
diff --git a/apps/shell_window.h b/apps/shell_window.h
index f93182a3846252d577b574ca4d0c0ee9e60cdec5..a3acfd5e39e39f609d2c4ef00e87a0ae1594650d 100644
--- a/apps/shell_window.h
+++ b/apps/shell_window.h
@@ -123,6 +123,10 @@ class ShellWindow : public content::NotificationObserver,
// If true, the window will be focused on creation. Defaults to true.
bool focused;
+
+ // If true, the window will stay on top of other windows that are not
+ // configured to be always on top. Defaults to false.
+ bool always_on_top;
};
class Delegate {

Powered by Google App Engine
This is Rietveld 408576698