]> khamidou — GitHub mirrors - electron.git/commitdiff
wrap lines to meet Travis CI build requirements
authorMichael S. Barthelemy <msb@idiom.com>
Thu, 16 Jul 2015 18:45:27 +0000 (14:45 -0400)
committerMichael S. Barthelemy <msb@idiom.com>
Thu, 16 Jul 2015 18:45:27 +0000 (14:45 -0400)
atom/browser/api/atom_api_window.cc
atom/browser/api/atom_api_window.h
atom/browser/native_window.cc
atom/browser/native_window.h

index 85fbcb872bc00fb0c4569f9030e7a03dfea17672..e6d4ff4d4134ae1a62ce1da956cd752ec6cf9204 100644 (file)
@@ -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)
index 21f61b5d5e00a12071b2b2b8f98379038bf70269..313892a6b28637a0a0eec4f7168a3a8bf9e751fa 100644 (file)
@@ -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);
index 5014c041cf7b911654b309aec0b675fbc454c887..544bfad46870243e580bee5983cbc04b07a78ab0 100644 (file)
@@ -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;
 }
index b73ff47dbdf78e4d3385433648d655cbd9298088..ee0628422270c8e03d6c1e134b30f9ad36e22116 100644 (file)
@@ -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);