views: Implement NativeWindow::SetSizeConstraints
This commit is contained in:
parent
8577f2b52f
commit
a76ea00249
6 changed files with 71 additions and 109 deletions
|
@ -104,11 +104,11 @@ gfx::Size FramelessView::GetPreferredSize() const {
|
|||
}
|
||||
|
||||
gfx::Size FramelessView::GetMinimumSize() const {
|
||||
return window_->GetMinimumSize();
|
||||
return static_cast<NativeWindow*>(window_)->GetMinimumSize();
|
||||
}
|
||||
|
||||
gfx::Size FramelessView::GetMaximumSize() const {
|
||||
return window_->GetMaximumSize();
|
||||
return static_cast<NativeWindow*>(window_)->GetMaximumSize();
|
||||
}
|
||||
|
||||
const char* FramelessView::GetClassName() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue