Add SetVisibleOnAllWorkspaces/IsVisibleOnAllWorkspaces API.
These two APIs are only available on OS X/Linux platforms.
This commit is contained in:
parent
1804466334
commit
476b61322f
8 changed files with 74 additions and 0 deletions
|
@ -81,6 +81,11 @@ class NativeWindowViews : public NativeWindow,
|
|||
void SetMenuBarVisibility(bool visible) override;
|
||||
bool IsMenuBarVisible() override;
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
void SetVisibleOnAllWorkspaces(bool visible) override;
|
||||
bool IsVisibleOnAllWorkspaces() override;
|
||||
#endif
|
||||
|
||||
gfx::AcceleratedWidget GetAcceleratedWidget();
|
||||
|
||||
SkRegion* draggable_region() const { return draggable_region_.get(); }
|
||||
|
@ -149,6 +154,10 @@ class NativeWindowViews : public NativeWindow,
|
|||
bool menu_bar_visible_;
|
||||
bool menu_bar_alt_pressed_;
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
bool is_visible_on_all_workspaces_;
|
||||
#endif
|
||||
|
||||
#if defined(USE_X11)
|
||||
scoped_ptr<GlobalMenuBarX11> global_menu_bar_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue