feat: add WCO title bar style setters (#33066)
* feat: add wco title bar style setters * return after throwing
This commit is contained in:
parent
4fdf8584ed
commit
f69b59effc
8 changed files with 108 additions and 0 deletions
|
@ -328,6 +328,10 @@ class NativeWindow : public base::SupportsUserData,
|
|||
};
|
||||
TitleBarStyle title_bar_style() const { return title_bar_style_; }
|
||||
int titlebar_overlay_height() const { return titlebar_overlay_height_; }
|
||||
void set_titlebar_overlay_height(int height) {
|
||||
titlebar_overlay_height_ = height;
|
||||
}
|
||||
bool titlebar_overlay_enabled() const { return titlebar_overlay_; }
|
||||
|
||||
bool has_frame() const { return has_frame_; }
|
||||
void set_has_frame(bool has_frame) { has_frame_ = has_frame; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue