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
|
@ -77,6 +77,9 @@ class NativeWindowMac : public NativeWindow {
|
|||
const std::string& description) override;
|
||||
void ShowDefinitionForSelection() override;
|
||||
|
||||
void SetVisibleOnAllWorkspaces(bool visible) override;
|
||||
bool IsVisibleOnAllWorkspaces() override;
|
||||
|
||||
// Returns true if |point| in local Cocoa coordinate system falls within
|
||||
// the draggable region.
|
||||
bool IsWithinDraggableRegion(NSPoint point) const;
|
||||
|
@ -112,6 +115,8 @@ class NativeWindowMac : public NativeWindow {
|
|||
|
||||
bool is_kiosk_;
|
||||
|
||||
bool is_visible_on_all_workspaces_;
|
||||
|
||||
NSInteger attention_request_id_; // identifier from requestUserAttention
|
||||
|
||||
// The presentation options before entering kiosk mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue