Add BrowserWindow.getClientBounds API
This commit is contained in:
parent
cdfbeb1a0a
commit
48cc13d009
7 changed files with 21 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue