wrap lines to meet Travis CI build requirements
This commit is contained in:
parent
7cdfa44438
commit
d0c6176640
4 changed files with 10 additions and 5 deletions
|
@ -249,7 +249,8 @@ bool Window::IsFullscreen() {
|
|||
return window_->IsFullscreen();
|
||||
}
|
||||
|
||||
void Window::MaintainContentAspectRatio(double aspectRatio, double width, double height) {
|
||||
void Window::MaintainContentAspectRatio(double aspectRatio,
|
||||
double width, double height) {
|
||||
window_->MaintainContentAspectRatio(aspectRatio, gfx::Size(width, height));
|
||||
}
|
||||
|
||||
|
@ -502,7 +503,8 @@ void Window::BuildPrototype(v8::Isolate* isolate,
|
|||
.SetMethod("isMinimized", &Window::IsMinimized)
|
||||
.SetMethod("setFullScreen", &Window::SetFullScreen)
|
||||
.SetMethod("isFullScreen", &Window::IsFullscreen)
|
||||
.SetMethod("maintainContentAspectRatio", &Window::MaintainContentAspectRatio)
|
||||
.SetMethod("maintainContentAspectRatio",
|
||||
&Window::MaintainContentAspectRatio)
|
||||
.SetMethod("getBounds", &Window::GetBounds)
|
||||
.SetMethod("setBounds", &Window::SetBounds)
|
||||
.SetMethod("getSize", &Window::GetSize)
|
||||
|
|
|
@ -95,7 +95,8 @@ class Window : public mate::TrackableObject<Window>,
|
|||
bool IsMinimized();
|
||||
void SetFullScreen(bool fullscreen);
|
||||
bool IsFullscreen();
|
||||
void MaintainContentAspectRatio(double aspectRatio, double width, double height);
|
||||
void MaintainContentAspectRatio(double aspectRatio,
|
||||
double width, double height);
|
||||
void SetBounds(const gfx::Rect& bounds);
|
||||
gfx::Rect GetBounds();
|
||||
void SetSize(int width, int height);
|
||||
|
|
|
@ -203,7 +203,8 @@ gfx::Size NativeWindow::GetInteriorContentExtraSize() {
|
|||
return interiorContentExtraSize;
|
||||
}
|
||||
|
||||
void NativeWindow::MaintainContentAspectRatio(double aspectRatio, const gfx::Size& extraSize) {
|
||||
void NativeWindow::MaintainContentAspectRatio(double aspectRatio,
|
||||
const gfx::Size& extraSize) {
|
||||
interiorContentAspectRatio = aspectRatio;
|
||||
interiorContentExtraSize = extraSize;
|
||||
}
|
||||
|
|
|
@ -109,7 +109,8 @@ class NativeWindow : public content::WebContentsObserver,
|
|||
virtual bool IsFullscreen() const = 0;
|
||||
double GetInteriorContentAspectRatio();
|
||||
virtual gfx::Size GetInteriorContentExtraSize();
|
||||
virtual void MaintainContentAspectRatio(double aspectRatio, const gfx::Size& extraSize);
|
||||
virtual void MaintainContentAspectRatio(double aspectRatio,
|
||||
const gfx::Size& extraSize);
|
||||
virtual void SetBounds(const gfx::Rect& bounds) = 0;
|
||||
virtual gfx::Rect GetBounds() = 0;
|
||||
virtual void SetSize(const gfx::Size& size);
|
||||
|
|
Loading…
Reference in a new issue