shorten names
This commit is contained in:
parent
10faf314d4
commit
7cdfa44438
4 changed files with 6 additions and 6 deletions
|
@ -249,8 +249,8 @@ bool Window::IsFullscreen() {
|
|||
return window_->IsFullscreen();
|
||||
}
|
||||
|
||||
void Window::MaintainAspectRatioOfInteriorContent(double aspectRatio, double extraWidth, double extraHeight) {
|
||||
window_->MaintainAspectRatioOfInteriorContent(aspectRatio, gfx::Size(extraWidth, extraHeight));
|
||||
void Window::MaintainContentAspectRatio(double aspectRatio, double width, double height) {
|
||||
window_->MaintainContentAspectRatio(aspectRatio, gfx::Size(width, height));
|
||||
}
|
||||
|
||||
void Window::SetBounds(const gfx::Rect& bounds) {
|
||||
|
@ -502,7 +502,7 @@ void Window::BuildPrototype(v8::Isolate* isolate,
|
|||
.SetMethod("isMinimized", &Window::IsMinimized)
|
||||
.SetMethod("setFullScreen", &Window::SetFullScreen)
|
||||
.SetMethod("isFullScreen", &Window::IsFullscreen)
|
||||
.SetMethod("maintainAspectRatioOfInteriorContent", &Window::MaintainAspectRatioOfInteriorContent)
|
||||
.SetMethod("maintainContentAspectRatio", &Window::MaintainContentAspectRatio)
|
||||
.SetMethod("getBounds", &Window::GetBounds)
|
||||
.SetMethod("setBounds", &Window::SetBounds)
|
||||
.SetMethod("getSize", &Window::GetSize)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue