shorten names

This commit is contained in:
Michael S. Barthelemy 2015-07-16 14:31:01 -04:00
parent 10faf314d4
commit 7cdfa44438
4 changed files with 6 additions and 6 deletions

View file

@ -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)