Add BrowserWindow.setAutoHideCursor for macOS
The `disableAutoHideCursor` BrowserWindow option can be used to control auto-hiding behavior when the window is created. This new API is needed to dynamically change the behavior after the fact.
This commit is contained in:
parent
fb74f5576d
commit
18c49285a8
8 changed files with 45 additions and 0 deletions
|
@ -91,8 +91,12 @@ class NativeWindowMac : public NativeWindow,
|
|||
void SetProgressBar(double progress, const ProgressState state) override;
|
||||
void SetOverlayIcon(const gfx::Image& overlay,
|
||||
const std::string& description) override;
|
||||
|
||||
void SetVisibleOnAllWorkspaces(bool visible) override;
|
||||
bool IsVisibleOnAllWorkspaces() override;
|
||||
|
||||
void SetAutoHideCursor(bool auto_hide);
|
||||
|
||||
void SetVibrancy(const std::string& type) override;
|
||||
|
||||
// content::RenderWidgetHost::InputEventObserver:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue