Get BrowserWindow::getContentSize API.

This commit is contained in:
Cheng Zhao 2014-05-15 15:30:04 +08:00
parent 8d5fbe525d
commit 76cc3eeb6d
9 changed files with 29 additions and 0 deletions

View file

@ -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;
}