feat: add BrowserWindow.isTabletMode API (#25209)
This commit is contained in:
parent
2dd7ad268b
commit
c50ded2b71
7 changed files with 32 additions and 0 deletions
|
@ -152,6 +152,7 @@ class BaseWindow : public gin_helper::TrackableObject<BaseWindow>,
|
|||
bool IsSimpleFullScreen();
|
||||
void SetKiosk(bool kiosk);
|
||||
bool IsKiosk();
|
||||
bool IsTabletMode() const;
|
||||
virtual void SetBackgroundColor(const std::string& color_name);
|
||||
std::string GetBackgroundColor();
|
||||
void SetHasShadow(bool has_shadow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue