Get BrowserWindow::getContentSize API.
This commit is contained in:
parent
8d5fbe525d
commit
76cc3eeb6d
9 changed files with 29 additions and 0 deletions
|
@ -295,6 +295,10 @@ gfx::Size NativeWindowWin::GetSize() {
|
|||
return window_->GetWindowBoundsInScreen().size();
|
||||
}
|
||||
|
||||
gfx::Size NativeWindowWin::GetContentSize() {
|
||||
return window_->GetClientAreaBoundsInScreen().size();
|
||||
}
|
||||
|
||||
void NativeWindowWin::SetMinimumSize(const gfx::Size& size) {
|
||||
minimum_size_ = size;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue