fix: use Chromium's way to compute min/max sizes (#38974)
This commit is contained in:
parent
52fe76ca28
commit
3fa15ebb7e
6 changed files with 96 additions and 397 deletions
|
@ -78,6 +78,9 @@ class NativeWindowViews : public NativeWindow,
|
|||
SkColor GetBackgroundColor() override;
|
||||
void SetContentSizeConstraints(
|
||||
const extensions::SizeConstraints& size_constraints) override;
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
extensions::SizeConstraints GetContentSizeConstraints() const override;
|
||||
#endif
|
||||
void SetResizable(bool resizable) override;
|
||||
bool MoveAbove(const std::string& sourceId) override;
|
||||
void MoveTop() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue