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

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

Issue 2158653002: Linux UI: Add IsVisibleOnAllWorkspaces() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more mac impls Created 4 years, 5 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_private.h ('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 eab3a909456d1115497a790f6c3cd4650de872f1..4e1617fde7a3e360bd48b065c4b9e152cb409eeb 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -521,6 +521,12 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Sets the widget to be visible on all work spaces.
void SetVisibleOnAllWorkspaces(bool always_visible);
+ // Is this widget currently visible on all workspaces?
+ // A call to SetVisibleOnAllWorkspaces(true) won't necessarily mean
+ // IsVisbleOnAllWorkspaces() == true (for example, when the platform doesn't
+ // support workspaces).
+ bool IsVisibleOnAllWorkspaces() const;
+
// Maximizes/minimizes/restores the window.
void Maximize();
void Minimize();
« no previous file with comments | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698