Add BrowserWindow.getClientBounds API

This commit is contained in:
Kevin Sawicki 2016-07-28 18:19:17 -07:00
parent cdfbeb1a0a
commit 48cc13d009
7 changed files with 21 additions and 0 deletions

View file

@ -544,6 +544,10 @@ gfx::Rect NativeWindowViews::GetBounds() {
return window_->GetWindowBoundsInScreen();
}
gfx::Rect NativeWindowViews::GetContentBounds() {
return window_->GetClientAreaBoundsInScreen();
}
gfx::Size NativeWindowViews::GetContentSize() {
#if defined(OS_WIN)
if (IsMinimized())