osx: Add NativeWindow::SetSizeConstraints
This commit is contained in:
parent
526cee7ec3
commit
8577f2b52f
9 changed files with 287 additions and 61 deletions
|
@ -440,6 +440,22 @@ gfx::Rect NativeWindowViews::GetBounds() {
|
|||
return window_->GetWindowBoundsInScreen();
|
||||
}
|
||||
|
||||
void NativeWindowViews::SetSizeConstraints(
|
||||
const extensions::SizeConstraints& size_constraints) {
|
||||
}
|
||||
|
||||
extensions::SizeConstraints NativeWindowViews::GetSizeConstraints() {
|
||||
return extensions::SizeConstraints();
|
||||
}
|
||||
|
||||
void NativeWindowViews::SetContentSizeConstraints(
|
||||
const extensions::SizeConstraints& size_constraints) {
|
||||
}
|
||||
|
||||
extensions::SizeConstraints NativeWindowViews::GetContentSizeConstraints() {
|
||||
return extensions::SizeConstraints();
|
||||
}
|
||||
|
||||
void NativeWindowViews::SetContentSize(const gfx::Size& size) {
|
||||
if (!has_frame()) {
|
||||
NativeWindow::SetSize(size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue